bug-bash
[Top][All Lists]
Advanced

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

Re: alias lm='ls \!* | more'


From: Chet Ramey
Subject: Re: alias lm='ls \!* | more'
Date: Thu, 13 Dec 2001 09:06:55 -0500

> Hi,all:
>   How to implement an alias in bash to do things like:
> 
>          ls -l /usr/bin | more

Use a shell function.

lm()
{
        ls -l "$@" | more
}

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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