Friday, May 3, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3444  / 2 Years ago, sat, march 26, 2022, 7:28:52

I need to change the directory to following path



/media/New Volume/softwr/pgm


and



/home/sdk


for 2 diff purpose.
But by using cd its not working



I tried



cd media and cd home



Both time its showing such file or directory not existing. I am new to Linux environment.I'm using Ubuntu 12.04LTS
Can anyone help?


More From » command-line

 Answers
1

When you open a Terminal, the working directory is you home, so you can easily go to /home/sdk by entering:



cd sdk


Otherwise, you should type the complete address beginning with /. In the case of an address contains spaces you have to use quotations or use before the space. Like:



cd "/media/New Volume/softwr/pgm"


or



cd /media/New Volume/softwr/pgm


Note that Linux is case-sensitive, so be careful about the uppercase letters.


[#29239] Monday, March 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
homerurhyth

Total Points: 338
Total Questions: 113
Total Answers: 105

Location: Moldova
Member since Sat, Aug 6, 2022
2 Years ago
;