Livejournal
Log in
Post
Friends
My journal
linuxpenguintux
redirecting of stdout and stderr to one file
Oct 08, 2013 13:52
$ [whatever] > outputfile.txt 2>&1
or
$ [whatever] &> outputfile.txt
get stderr only:
$ [whatever] 2> errlog.txt
linux
Leave a comment
Previous post
Next post
Up