Thursday, February 07, 2008

Linux shell for windows in 5 easy steps

A common source of annoyance in windows is that the shell aka cmd sucks. One of the best features I like in Linux is the shell, so I came up with the following way to setup a shell on Vista

1) Get the fonts right

Download all the 6 fonts from here

Copy them into c:\windows\fonts

open terminal, click on left top icon, properties , fonts , choose Raster fonts, select 6 x 13,

select layout enter window size as 80 and height as 20.

make sure the screen buffer size is also 80.



2) Get UNIX command implementations

Get the bundle here, extract it into some directory of your choice and add the /usr/local/wbin to your PATH variable

3) Get BASH

Get the BASH shell for windows from here , and copy bash.exe and bash.dll into the directory where unxutils were extracted.

4) Set your HOME variable to point to you home directory and copy .bashrc into it.


5) Create a shortcut with the following command to be run

cmd.exe /K bash



Thats it ! Enjoy :)

Binil, heres the screenshot :)

6 Comments:

At 11:59 PM , OpenID binil said...

screenshots? :-)

 
At 3:01 PM , Anonymous Anonymous said...

Hi,
Thanks for the cool tip to use shell cmd line in windows Vista.

can you please explain with more screenshot how to configure it would be helpful.

Thanks,
Anil

 
At 8:39 AM , Blogger Dhoriya Ravi B said...

hey... second step link for downloading dsnt work... can u give me another link..???

 
At 6:48 AM , Anonymous Anonymous said...

this is the link http://sourceforge.net/projects/unxutils/

 
At 3:14 PM , Anonymous Anonymous said...

Linux shell is great but we probably cannot do much with just the naked shell. We still need a bunch of Linux command utilities (cat, more, less, grep, find, sed, awk, ls, ps, kill, etc...). So far cygwin seems the only complete solution... Or, if someone tells me that Microsoft PowerShell is capable of all these and just as convenient, I'd be eager to know and learn it.

 
At 12:19 AM , Anonymous suppie said...

awesome with a few problems

tried it on windows 7 and a few problems i am facing.
some crashes on doing ls
and hitting tab hangs the whole thing hangs up.

 

Post a Comment

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link

<< Home