[EMAIL PROTECTED] wrote:
On Thu, Dec 21, 2006 at 12:45:35PM -0600, Dan Nelson wrote:
In the last episode (Dec 19), [EMAIL PROTECTED] said:
Is there UNIX analog of ftp command pls, i. e. ls | less ?
Yes, "ls | less" is the way to do it. You can add a shell alias
On Thu, Dec 21, 2006 at 02:42:37PM -0600, Dan Nelson wrote:
> In the last episode (Dec 21), [EMAIL PROTECTED] said:
> > On Thu, Dec 21, 2006 at 12:45:35PM -0600, Dan Nelson wrote:
> > > In the last episode (Dec 19), [EMAIL PROTECTED] said:
> > > > Is there UNIX analo
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
___
freebsd-questions@freebsd.org mailing list
http://lis
On Thu, 21 Dec 2006, Eric Kjeldergaard wrote:
To find the answer to this, you need only look at both of those solutions
and combine them. For instance...
alias pls="ls -l $@ | less"
The csh/tcsh equivalent is
alias pls 'ls -l \!* | less'
-Warren Block * Rapid City, South Dakota USA
_
On 12/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Thu, Dec 21, 2006 at 12:45:35PM -0600, Dan Nelson wrote:
> In the last episode (Dec 19), [EMAIL PROTECTED] said:
> > Is there UNIX analog of ftp command pls, i. e. ls | less ?
>
> Yes, "ls | less" is t
In the last episode (Dec 21), [EMAIL PROTECTED] said:
> On Thu, Dec 21, 2006 at 12:45:35PM -0600, Dan Nelson wrote:
> > In the last episode (Dec 19), [EMAIL PROTECTED] said:
> > > Is there UNIX analog of ftp command pls, i. e. ls | less ?
>
> Thank you for response,
On Thu, Dec 21, 2006 at 12:45:35PM -0600, Dan Nelson wrote:
> In the last episode (Dec 19), [EMAIL PROTECTED] said:
> > Is there UNIX analog of ftp command pls, i. e. ls | less ?
>
> Yes, "ls | less" is the way to do it. You can add a shell alias to
> make it easier t
On Tue, Dec 19, 2006 at 09:53:59PM +0200, [EMAIL PROTECTED] wrote:
> Is there UNIX analog of ftp command pls, i. e. ls | less ?
the BSD version of ftp(1) has the pls command (pdir is also a synonym to it).
--
Raymond Pasco <[EMAIL PROTECTED]>
Mobile: +1 860 335 5022 (SMS only please)
By
In the last episode (Dec 19), [EMAIL PROTECTED] said:
> Is there UNIX analog of ftp command pls, i. e. ls | less ?
Yes, "ls | less" is the way to do it. You can add a shell alias to
make it easier to type:
alias pls="ls -l | less"
That's for bourne-style shells
On Tue, Dec 19, 2006, [EMAIL PROTECTED] wrote:
>Is there UNIX analog of ftp command pls, i. e. ls | less ?
There's a Windows analog of the UNIX ftp command (pretty much
everything from DOS 2.0 on was taken from UNIX starting with the
hierarchical file system).
Bill
--
INTERNET:
Is there UNIX analog of ftp command pls, i. e. ls | less ?
Elisey Babenko
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
11 matches
Mail list logo