Entering Cygwin command line (bash login) from Windows cmd.exe ?

KAVALAGIOS Panagiotis (EEAS) Panagiotis.KAVALAGIOS@eeas.europa.eu
Mon Aug 7 05:38:21 GMT 2023


> On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz <roland.mainz@nrubsig.org>
> wrote:
> > Is there an official way to enter the Cygwin command line (e.g. bash
> > login) from Windows cmd.exe, e.g. if someone ssh's into a Windows
> > machine he/she ends/up in a cmd.exe and not bash...
> 
> ping!

You may run your favourite shell from the bin directory of your Cygwin installation:

"C:\Program Files\Cygwin\bin\bash.exe"
"C:\Program Files\Cygwin\bin\tcsh.exe"

replace " C:\Program Files" with your target Cygwin installation directory root.

Panos



More information about the Cygwin mailing list