Re: dir is not ls

2012-03-21 Thread Arnt Karlsen
On Mon, 19 Mar 2012 22:13:42 -0500, Kumar wrote in message 20120320031342.ga19...@bluemoon.alumni.iitm.ac.in: On Mon, Mar 19, 2012 at 08:57:28PM +, Brad Rogers wrote: Just save the alias in /etc/profile.d/bash_aliases.sh and we are done. (But I think a rm /bin/dir is also applicable)

dir is not ls

2012-03-19 Thread rcb
Dear Debian users, Some old systems insists you type 'ls' and do not provide an alias do 'dir'. I loved this behavior. How can I make debian squeeze honor 'ls' again, and print a funny message to those who try to type 'dir'? I've look for a clean way to disable 'dir', but found nothing on

Re: dir is not ls

2012-03-19 Thread CamaleĆ³n
On Mon, 19 Mar 2012 12:08:40 -0300, rcb wrote: Some old systems insists you type 'ls' and do not provide an alias do 'dir'. I loved this behavior. How can I make debian squeeze honor 'ls' again, and print a funny message to those who try to type 'dir'? I've look for a clean way to

Re: dir is not ls

2012-03-19 Thread Kelly Clowers
On Mon, Mar 19, 2012 at 08:08, rcb r...@beco.cc wrote: Dear Debian users, Some old systems insists you type 'ls' and do not provide an alias do 'dir'. I loved this behavior. How can I make debian squeeze honor 'ls' again, and print a funny message to those who try to type 'dir'? I've look

Re: dir is not ls

2012-03-19 Thread Jochen Spieker
rcb: How can I make debian squeeze honor 'ls' again, and print a funny message to those who try to type 'dir'? apt-get install sl alias dir=sl Doesn't work for root because /usr/games/ is usually not in its path. J. -- After the millenium I would tell lies only to those who deserved them.

Re: dir is not ls

2012-03-19 Thread Claudius Hubig
Hello Jochen, Jochen Spieker m...@well-adjusted.de wrote: apt-get install sl alias dir=sl Doesn't work for root because /usr/games/ is usually not in its path. Nothing stops you from providing the full path :-) Try $ which sl to get it. Best regards, Claudius -- Q: Why do WASPs

Re: dir is not ls

2012-03-19 Thread Brad Rogers
On Mon, 19 Mar 2012 12:08:40 -0300 rcb r...@beco.cc wrote: Hello rcb, Some old systems insists you type 'ls' and do not provide an alias do 'dir'. dir isn't an alias. At least, not on my testing system. -- Regards _ / ) The blindingly obvious is / _)rad

Re: dir is not ls

2012-03-19 Thread Dr Beco
On Mon, Mar 19, 2012 at 15:37, Jonathan McCrohan jmccro...@gmail.com wrote: jmccrohan@lambda:~$ which dir /bin/dir jmccrohan@lambda:~$ dpkg -S /bin/dir coreutils: /bin/dir dir is located in /bin, and part of the coreutils package. Jon Hi Jon, Brad, and Kelly, I'm astonished! 'dir' is

Re: dir is not ls

2012-03-19 Thread Brad Rogers
. A comparison between dir and ls using the --version and --help options reveals that, in fact, they're, essentially, the same program. Just save the alias in /etc/profile.d/bash_aliases.sh and we are done. (But I think a rm /bin/dir is also applicable) Every time there's an update to coreutils

Re: dir is not ls

2012-03-19 Thread Kumar Appaiah
On Mon, Mar 19, 2012 at 08:57:28PM +, Brad Rogers wrote: Just save the alias in /etc/profile.d/bash_aliases.sh and we are done. (But I think a rm /bin/dir is also applicable) Every time there's an update to coreutils dir will be back, don't forget. Anyhow, won't the alias take