Chaitali
Chaitali

Reputation: 240

Changing directory in bash for GNU

I have never worked with Linux and hence I am ignorant in the commands.However, I need to use the GNU for win64 environment for one of the programming tools to function. I have downloaded the GNU from cygwin. This package includes gcc and various commands and shells (sh, bash, etc.) that make the PC have a unix like environment.

I have to change to the directory of the program code MyPrograms and type "make all". On opening the terminal of cygwin i get this line >> -bash-4.1$

Question is what is the command for changing to the directory MyPrograms;what do I type in after -bash-4.1$

Upvotes: 0

Views: 1291

Answers (1)

Vin
Vin

Reputation: 579

If your MyPrograms folder is located at C:\MyPrograms, then in Cygwin, type:

cd /cygdrive/c/MyPrograms

Refer to this FAQ

Upvotes: 2

Related Questions