-3

i am new to linux and i am confused on how to navigate to and from between root@2c00d30f31ad:/ and root@2c00d30f31ad:~#

Here is what i am facing:

root@2c00d30f31ad:/alx-pre_course# cd                                                                                                                                                   
root@2c00d30f31ad:~# cd alx-pre_course                                                                                                                                                  
bash: cd: alx-pre_course: No such file or directory                                                                                                                                     
root@2c00d30f31ad:~#

Artur Meinild
  • 31,035

1 Answers1

0

You should've search for Linux basic commands, this a quick one https://help.ubuntu.com/community/UsingTheTerminal And for your question it's because of the directory is not in your location you can use ls to list and cd to navigate to destination and cd .. to step back.

Edit: At the first line you were already in it you just need to list ,and when you type cd you went to your home directory but the directory is in /