0

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?

3
  • Can you clarify the process you are following a bit? (use of backticks may help for formatting) How are you checking the PWD, for example?
    – HalosGhost
    Jun 6, 2014 at 4:54
  • You should not have a space between the dots in your cd command. It should be cd .. -- cd<space><dot><dot>
    – savanto
    Jun 6, 2014 at 4:56
  • No worries! Glad to help.
    – savanto
    Jun 6, 2014 at 6:53

1 Answer 1

1

Put a space between cd and .., so cd .. and not cd... The second one works in dos but not in unix/cygwin.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .