cygwin basic command trouble

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?

user329888

Posted 2014-06-06T04:49:30.487

Reputation: 11

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 – 2014-06-06T04:54:29.843

You should not have a space between the dots in your cd command. It should be cd .. -- cd<space><dot><dot> – savanto – 2014-06-06T04:56:46.313

No worries! Glad to help. – savanto – 2014-06-06T06:53:50.527

Answers

1

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

fede.evol

Posted 2014-06-06T04:49:30.487

Reputation: 1 718