skip to main
|
skip to sidebar
Programming Tips
Wednesday, April 04, 2007
Redirecting standard output to file and console at the same time
Command Name
: tee
Sample Usage
: ls 2>&1 | tee ~/ls_output
Note: 2>&1 redirects standard error to standard output
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2009
(1)
►
May
(1)
▼
2007
(7)
►
May
(1)
▼
April
(2)
Prompting user for password in a shell script
Redirecting standard output to file and console at...
►
February
(2)
►
January
(2)
►
2006
(3)
►
December
(2)
►
November
(1)
Links
My Blog
Google News
About Me
Ilyia Kaushansky
View my complete profile
No comments:
Post a Comment