Page 1 of 1
cd..: command not found
Posted: Mon Oct 05, 2015 1:58 am
by hualaan
I'm just trying to learn the Linux command line commands. Typing cd.. gets the "command not found" error. I can use cd folder name to change to the folder name directory, and typing cd alone will bring me back to the home directory, but not cd..
Anyone know how I can get the cd.. function to work?
Re: cd..: command not found
Posted: Mon Oct 05, 2015 2:48 am
by plugwash
There needs to be a space between cd and ..
Re: cd..: command not found
Posted: Tue Oct 06, 2015 10:08 pm
by hualaan
Thanks plugwash...it's been more than twenty years since I used Unix. I'm pretty rusty!
Re: cd..: command not found
Posted: Thu Mar 22, 2018 12:43 am
by uroborous
i am trying to install a pdf viewer program. to install it i have to cd into the directory where the installer file is located. however i can not cd into anything at all and i have tried every other file in the home/pi/ directory to no avail. it is located in the downloads directory but when i input the command: "cd /downloads" i get the error message "no such file or directory" what am i doing wrong.
i have also tried: cd /home/pi/downloads
cd/home/pi/downloads
and cd/downloads.
nothing seems to work. neither does cd . or cd ..
<edit>
solved my problem the easy way:
moved the file into the home/pi directory
punched in the command.
installer started.
why cant we just double click on the damnable things like in windows with a .exe installer?
srsly would be easier.
plz dont hate me.
Re: cd..: command not found
Posted: Thu Mar 22, 2018 1:28 am
by Imperf3kt
uroborous wrote: ↑Thu Mar 22, 2018 12:43 am
i am trying to install a pdf viewer program. to install it i have to cd into the directory where the installer file is located. however i can not cd into anything at all and i have tried every other file in the home/pi/ directory to no avail. it is located in the downloads directory but when i input the command: "cd /downloads" i get the error message "no such file or directory" what am i doing wrong.
i have also tried: cd /home/pi/downloads
cd/home/pi/downloads
and cd/downloads.
nothing seems to work. neither does cd . or cd ..
<edit>
solved my problem the easy way:
moved the file into the home/pi directory
punched in the command.
installer started.
why cant we just double click on the damnable things like in windows with a .exe installer?
srsly would be easier.
plz dont hate me.
Linux is case-sensitive.
Next time, the command should be
cd /home/pi/Downloads
Re: cd..: command not found
Posted: Thu Mar 22, 2018 8:19 pm
by k-pi
....& just as a refresher "cd /downloads" will be looking for that in the root partition, not in the /home/pi folder.
