简体   繁体   中英

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$

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

cd /cygdrive/c/MyPrograms

Refer to this FAQ

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM