Reply
Thread Tools
Posts: 42 | Thanked: 48 times | Joined on Feb 2010
#1
For those who haven't got a clue what the title means, this is about adding colour support to the terminal command 'ls'.

The version which comes by default is part of busybox and has been compiled without colour support. This means the output is monochrome which is less useful and frankly boring. This makes me a very sad panda.

Luckily, there is another version available with colour support in the coreutils-gnu package in testing. This includes a whole bunch of commands actually.

Anyway installing this package (it's in testing so be warned) will place a bunch of symlinks in /usr/bin/gnu. Aliasing

alias ls='/usr/bin/gnu/ls --color=auto'

is then all you need (put it in a .profile file in /home/user to do this automatically).

Now your terminal too can be exciting and awash with colour. More importantly you can actually see what's a folder and what's an executable at a glance.

Well, hopefully someone finds this useful.

Alan
 

The Following User Says Thank You to amh For This Useful Post:
Posts: 274 | Thanked: 82 times | Joined on Dec 2009
#2
Super, thanks for this. Might have to do this one my self.

I was thinking to my self, where is the colours in Xterm.
 
Posts: 104 | Thanked: 40 times | Joined on Nov 2009
#3
wow thanks man this should have been default with the colors
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:24.