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

Doswrite

Status
Not open for further replies.

crmayer

Programmer
Nov 22, 2002
280
US
Can somebody tell me what the last part of this command does?

doswrite -a -v -D/dev/fd0 /tm/tmp/dirdep/ddeposit ddeposit > /dev/null 2 > &1

I know what happens up until the > /dev/null 2>&1 part. What does this do?
 
it sends errors and standard output to /dev/null -- which is "nowhereland".
 
Are you asking about '2>&1'?

This will redirect standard error to standard out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top