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

Re: bash functions



deblists@tifa.demon.nl wrote:
> 
> On  8 May, André Bell wrote:
> > Does bash contain a pause feature other than control-z?
> >
> > When I type 'help' the screen scrolls past and control-z doesn't stop the
> > top few lines from scrolling away before I can read them.  with dos I'd
> > just type 'dir /p' or type '<filename> |more'
> >
> > Are there equivalent set of commands for bash?
> >
> > Thanks!
> >
> > Andre'
> >
> 
> Hello Andre!
> 
> There is no such function built in into bash, but there is the command
> 'less'. Just type 'less <filename>'.
> 

Or, if "less" is not installed, use "more"; but "less" is a nicer
"more". Also, you can pipe the output of commands through more,
just like in DOS; for example, the equivalent of "dir /p" would
be "ls |more".


Reply to: