I'm using Cygwin to simulate Linux environment on my Windows 7 machine for learning some basic commands and functions. Right now, I am just practicing moving through directories and different file pathways I've created. I have read that I can move backward (or upward) in my file path by typing cd . .
, but this is not working. For example, my pwd: /home/temp/stuff/things
, but when I type in cd . .
on the next command it reads the same pwd. Am I doing something wrong or am I misunderstanding the cd . .
command?
1 Answer
Put a space between cd and .., so cd .. and not cd... The second one works in dos but not in unix/cygwin.
cd
command. It should becd ..
--cd<space><dot><dot>