In bash, calling foo would display any output from that command on the stdout.
Calling foo > output would redirect any output from that command to the file specified (in this case 'output').
foo > output
Is there a way to redirect output to a file and have it display on stdout?
© 2016 Powered by mzan.com design MATCHINFO