Re: dir is not ls



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

(...)

Can't you just add the alias manually? :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/jk7mel$6c2$23@xxxxxxxxxxxxxxx



Relevant Pages

  • Re: dir is not ls
    ... How can I make debian squeeze honor 'ls' again, and print a funny ... alias dir=sl ...
    (Debian-User)
  • dir is not ls
    ... Some old systems insists you type 'ls' and do not provide an alias do 'dir'. ... How can I make debian squeeze honor 'ls' again, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: dir is not ls
    ... Some old systems insists you type 'ls' and do not provide an alias do 'dir'. ... How can I make debian squeeze honor 'ls' again, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: about DSA-2452-1 apache2 -- insecure default configuration
    ... I can be wrong but the bug seems aimed to correct the package which ... contains the file that enables the alias by default, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: about DSA-2452-1 apache2 -- insecure default configuration
    ... I can be wrong but the bug seems aimed to correct the package which ... contains the file that enables the alias by default, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)