Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2006 15:40:05 -0500
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Is there UNIX analog of ftp command pls?
Message-ID:  <8cb6106e0612211240y66171b0dp5bd1182da5cb50d3@mail.gmail.com>
In-Reply-To: <20061221194409.GA1515@host.my.domain>
References:  <20061219195359.GA34750@host.my.domain> <20061221184535.GB40028@dan.emsphone.com> <20061221194409.GA1515@host.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
> pls directory
>
> will give
>
> ls -l | less directory
>
> which is not what one want.

Try the following:

bourne shells:
alias pls='ls $* | less'

or for csh/tcsh:
alias pls 'ls $* | less'

Thanks,
Josh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0612211240y66171b0dp5bd1182da5cb50d3>