Home How to redirect output to a file and stdout
Reply: 0

How to redirect output to a file and stdout

user337
1#
user337 Published in June 23, 2018, 7:58 am

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').

Is there a way to redirect output to a file and have it display on stdout?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.407565 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO