On Mar 7, 2013 10:08 PM, "Tyler J. Wagner" <ty...@tolaris.com> wrote:
>
> On 2013-03-07 18:12, Tony Pursell wrote:
> > man command | cat
> >
> > where command is the command you want to browse, will dump everything to
> > the terminal and you can scroll back up through it with the mouse wheel
(I
> > hope),
>
> Put this in your .bashrc or .profile:
>
> export PAGER=/bin/cat
>
> Now paging programs like man will dump output direct to the terminal.
>

And you can set it just for one command by starting the command line with a
variable override:

PAGER=/bin/cat man command

Don't include the export. Works a treat if you normally want the pager, but
not for one command. I frequently use this to get full output from the ps
command...

Neil
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to