I have (64-bit) Cygwin install on my Windows machine; and I'm also using mobaxterm 12.4.
How do I get my mobaxterm to...
- Start a Cygwin shell session? Or better yet
- Use Cygwin as the default when launching a "Local Terminal"?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityI have (64-bit) Cygwin install on my Windows machine; and I'm also using mobaxterm 12.4.
How do I get my mobaxterm to...
it's also possible to create a shell session with the 'Bash (external)' option
Menu Sessions -> New Session -> Shell -> Bash (external) -> Advanced Shell Settings -> Distribution Directory -> C:\path\to\cygwin64
tested with version 22.3
The trick is to use a CMD terminal that starts a cygwin BASH session upon startup, as follows (adapt the cygwin location and the user to your situation):
MobaXterm | Session | Shell | Terminal Shell: Cmd | Advanced Shell Settings | Execute:
set HOME=/home/<user>;
C:\\Localdata\\cygwin64\\bin\\bash --login