From charlesreid1

Revision as of 03:32, 24 March 2018 by Admin (talk | contribs)

http://www.tldp.org/LDP/abs/html/io-redirection.html

Do this:

ls -yz >> command.log 2>&1

not this:

ls -yz  2>&1 >> command.log