Thursday, March 22, 2012

Linux Shell Output Redirect

If you like to run a program in total silence and write every output to a file of your choice use:
YOURCOMMAND &> YOURFILE
This will redirect everything to the specified file.
Helps for cronjobs or huge output generators like Hadoop.

No comments:

Post a Comment