I need help with NAVIGATION cd I 2023 the new version

i need help asap please can some one help i am on the subject NAVIGATION

cd I in the year 2023.

it is asking for the bellow instructions

NAVIGATION

cd I

Our next command is cd, which stands for “change directory.” Just as you would click on a folder in Windows Explorer or Finder, cd switches you into the directory you specify. In other words, cd changes the working directory.

Let’s say the directory we change into is 2015/:

$ cd 2015

When a file, directory, or program is passed into a command, it is called an argument. Here the 2015/ directory is an argument for the cd command.

The cd command takes a directory name as an argument and switches into that directory.

It is also important to move up one directory. For this, we use:

$ cd ..

The argument .. stands for the directory above the current working directory. Assuming we are in /home/ccuser/workspace/blog/2015:

$ pwd/home/ccuser/workspace/blog/2015$ cd ..$ pwd/home/ccuser/workspace/blog

The above example uses the command cd .. to navigate up to the /home/ccuser/workspace/blog/ directory.

Instructions

Checkpoint 1 Passed

Our current working directory is /home/ccuser/workspace/blog/. Change into the 2015/ directory.

Confirm you are in the 2015/ directory using pwd.

Make sure to click the Check Work button once you’ve completed each checkpoint.

Stuck? Get a hint

Checkpoint 2 Failed, try again

Now move back up to the blog/ directory using the .. notation.

Confirm your location again with pwd and click the Check Work button?

Stuck? Get a hint

Checkpoint 3 Step instruction is unavailable until previous steps are completed

Let’s move further into the filesystem. We are currently in the blog/ directory. From here we want to move into the 2015/ directory, then into a directory named jan/ and lastly, a directory named memory/. (You can reference the filesystem for this lesson here.)

Move down the filesystem into the memory/ directory and print the working directory again to see the new location.

i have put in

cd /home/ccuser/workspace/blog/2015

then pwd

after that i put
cd /home/ccuser/workspace/blog

and then
pwd but it keeps giving me a error

Did you run the command cd .. to move up to the blog/ directory?

please can someone help i am very lost and confused about to give up

You have to write the commands as they ask you to. You didn’t write cd ../ to move up to the parent directory.

Also, to change to the blog dir, you don’t need to put the whole file path.

this is what it should look like:

Summary
pwd
/home/ccuser/workspace/blog
$ cd 2015
$ pwd
/home/ccuser/workspace/blog/2015
$ cd ..
$ pwd
/home/ccuser/workspace/blog
$ cd 2015/jan/memory
$ pwd
/home/ccuser/workspace/blog/2015/jan/memory
$ 

1 Like

thank you this worked :slight_smile:

1 Like