bug-bash
[Top][All Lists]
Advanced

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

alias lm='ls \!* | more'


From: Hongwei
Subject: alias lm='ls \!* | more'
Date: Thu, 13 Dec 2001 12:47:45 +0800

Hi,all:
  How to implement an alias in bash to do things like:

         ls -l /usr/bin | more

  I can use

         alias lm 'ls -l \!* | more'

  in csh, but the same thing can not work in bash:

         alias lm='ls -l \!* | more'

  when I type "lm /usr/bin", the bash complaints:

         ls: !*: No such file or directory
         /usr/ is a directory

Best regards.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]