Yeah, thats what I did first and said it didn't work. From all the imput I think the following is a clear way to express it:

/command/ 2>&1 | less

where:
- the "command" is the specific function or action to be performed
- "2>" is the instruction to direct (the errors?) to stderr
- "&1" is the instruction to duplicate these error messages to stdout
- "| less" is the instruction to output the result of the command to less.


Is this right?  Just out of curiosity what exactly is stderr and stdout?

geek-speek;-)

There are three files available to (most) Unix programs without them opening them:
stdin for reading stuff
stdout for writing regular reports
stderr for writing error reports.





--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to