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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scripting

Status
Not open for further replies.

jwant

Technical User
Jul 2, 2001
17
US
How do I get the "set -x" command to output to a log file?
 
well, you could run the command then use the > to send it to a log file.. for instance, create a log file called setx.log .. then type this command..

set -x > setx.log

i think u get the idea, all output from set -x will be sent to the specified file..

goog luck..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top