I am unable to change my directory to /home/username/Downloads. I keep getting the error message no such file or directory. What could I possibly be doing wrong as I've tried everything.
Asked
Active
Viewed 627 times
0
-
Welcome, what's the actual command you are using? [edit] the question adding it. – schrodingerscatcuriosity Sep 29 '21 at 11:40
-
Does this answer your question? How does using the tilde work as a shortcut to my home directory? – N0rbert Sep 29 '21 at 11:44
-
From the title of your question, I wonder if you typed 'cd: /Downloads'? The command given in the answer is the correct one to use. – Will Sep 29 '21 at 12:21
1 Answers
2
~
is an abbreviation for your own user's home directory, and you can also use either cd
by itself or cd ~
to navigate to your home directory.
To change directories to your Downloads directory open the terminal and type:
cd ~/Downloads

karel
- 114,770