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

could plz some one explain the following statement what is .log2>&?

Status
Not open for further replies.

mvrao18

Programmer
Jun 24, 2004
2
US
${SCRIPTS_DIR}venky_script >${LOGS_DIR}${BASE_JOB_NAME}.log 2>&1
 
lets break it down:

run this script
${SCRIPTS_DIR}venky_script

pipe the output to this file:
>${LOGS_DIR}${BASE_JOB_NAME}.log

take your standard error and pipe it to standard output.....
2>&1



___________________________________
[morse]--... ...--[/morse], Eric.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top