Hi, I have a command "cmd" I run from command line but now I want to save stout aswell as sterr to a log.I know 2>&1 has a way to do that? cmd 2>&1 cmd.log is not working?,what is the exact command?
In reply to how to use 2>&1 by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |