Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Log option

Status
Not open for further replies.

bcre3306

MIS
May 7, 2002
45
US
I've done this before but I am having a bad Monday!! I want to start a log and everything I type and the output from it to go to this log file. What is the command that I use to start this??
Thanks in advance
 
Are you talking about the command script? Try script -a /tmp/output.txt.
 
tee will give you the output of what you type and you have to invoke it each time.

script will give you both what you type and its output and remains logging until you type exit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top