[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dir is not ls



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
~/.bashrc, ~/.bash_alias, /etc/bash.bashrc or /etc/profile. Nor the
command 'alias' give me any 'dir' alias.

Thanks all,

Beco

PS. For those who still use dual boot: in your windows box, open
notepad and type:

@dir /w /p %*

Save as ls.bat in C:\Windows\System32\



--
LiCo #201942


Reply to: