Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Cmder with Bash on Ubuntu on Windows 10

I am new to bash and commandline, a friend adviced me to use Bash with Cmder so I downloaded it here : http://cmder.net/ (mini)

The problem is, that when I open it it emulates the standard command prompt and not Bash. I can't find where I can configure it.

When I say Bash I mean Bash on Ubuntu on Windows 10.

like image 379
neiya Avatar asked Oct 05 '16 19:10

neiya


People also ask

Can Cmder run Bash?

Some features of Cmder: Run linux bash, batch and powershell commands.

How do I use Bash in Windows 10?

Press Windows key + X then click Command prompt, at the command prompt, type: bash then hit Enter. If you want to be able to access the local file system, press Windows key + X, Command Prompt (Admin) then type bash at the prompt.

Can you use Bash commands on Windows?

Note that bash runs natively on Windows 10, which is different from using emulators like 'cygwin' for Windows which enabled GNU tools to run on unsupported Windows environment. Also, Linux subsystem for Windows 10 is only available on the 64-bit version of the OS.

How do I get Ubuntu Bash on Windows 10?

Enable the new Bash on Ubuntu on Windows 1 – Right click on the Start icon and select Programs and Features. 2 – Click Turn Windows features on or off. 3 – Scroll down to the new Windows subsystem for Linux and tick it, click OK. 4 – Wait for it to apply and reboot when prompted.


1 Answers

Here's how I did it:

in Settings, Tasks I added a "bash::ubuntu" task which I launch with :

%windir%\system32\bash.exe -cur_console:pm:/mnt

(paste it in the big box in the lower right corner)

I even set up its icon with :

-icon "%USERPROFILE%\AppData\Local\lxss\bash.ico"

(paste it in "Task parameter".)

And it works like a charm, I even set up a personnalised palette locked to bash::ubuntu (using Ap Distinct) that looks like the purple terminal from ubuntu.

BTW the latest version of ConEmu has already bash.exe setup under Bash::bash.

Here's how it looks for me

like image 151
Seanny_Crow Avatar answered Oct 06 '22 07:10

Seanny_Crow