0

I want ask you about the bash shell on windows .. can I work on it now?? and how I can run it?

because I try to run bash on CMD and this message appears

C:\Users\Pc>bash

Pc@User /cygdrive/c/Users/Pc
$
0

3 Answers 3

1

As it looks, you are already running it.. Enter echo $?, hit enter and it should return 0

0

Someone has installed Cygwin on your PC for you.

3
  • Not necessarily, although of course quite possible. Cygwin provides not the only bash implementation for Windows. Commented Apr 4, 2016 at 10:14
  • @user1934428 I'd be very surprised if the other implementations also took Cygwin's /cygdrive prefix. Commented Apr 4, 2016 at 17:32
  • Point taken! I missed this part. Commented Apr 5, 2016 at 5:47
0

Go ahead and enjoy bash and the rest of the tools. I recommend to read a book on the subject.

As already mentioned, /cygdrive is prefix used by Cygwin to reference Windows drive letters. E.g. /cygdrive/c references drive C:\. Cygwin itself is usually installed in C:\cygwin or C:\cygwin64 (64-bit version).

Check the Cygwin User Guide for more information.

You must log in to answer this question.