On Tue, Apr 02, 2002 at 07:54:11PM +0530, Nikhil Joshi wrote:
Been racking my brain on this one for long time. I use bash and I would like to have a file containing all the commands I can execute. Now when i press TAB-TAB at prompt it shows
Display all 1710 possibilities? (y or n)
now if i press y the whole list scrolls by and i can view only the last screen :( Is it possible to redirect the output to a file?
1] You can use the "Shift+PgUp" to move up upto a limit.
2] Try the "script" utility ( install if not there ).
type "script" < Now, do any activity > type "exit/Ctrl-D/whatever-you-do-to-end-the-program"
A file called typescript is created.
Open in an editor and see.
hth.