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 appl

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 p

Re: dir is not ls

2012-03-19 Thread Brad Rogers
On Mon, 19 Mar 2012 17:10:20 -0300 Dr Beco wrote: Hello Dr, > I'm astonished! 'dir' is now officially a linux command! My gosh. Not used it myself, since I've been so used to ls. I only tried to find because of your initial post on the subject. "which dir" showed where it resides. A comparis

Re: dir is not ls

2012-03-19 Thread Dr Beco
On Mon, Mar 19, 2012 at 15:37, Jonathan McCrohan 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 now officiall

Re: dir is not ls

2012-03-19 Thread Brad Rogers
On Mon, 19 Mar 2012 12:08:40 -0300 rcb 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 / _)radnever imme

Re: dir is not ls

2012-03-19 Thread Claudius Hubig
Hello Jochen, Jochen Spieker 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 play golf ? A:

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 the

Re: dir is not ls

2012-03-19 Thread Kelly Clowers
On Mon, Mar 19, 2012 at 08:08, rcb 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 for

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

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 ~/.bas