Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'How to capture output from certain Unix commands' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
How to capture output from certain Unix commands
Authored by: fracai on Thu, May 1 2008 at 7:58AM PDT
If you'd like to output both the standard error and output to one file you can also use "&>" as in

ssh -V &> output

The above would merge both stderr and stdout to the output file.

---
i am jack's amusing sig file

[ Reply to This | # ]
portability
Authored by: perturb on Fri, May 2 2008 at 4:48AM PDT
Pedantic note: this is available in recent shells like bash, but not in older Unix sh/ksh shells (including the POSIX standard shell.)

[ Reply to This | # ]