Quantcast
Channel: Redirect String to STDERR Linux Command - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Babblo for Redirect String to STDERR Linux Command

cat file 1>&2More info at: http://www.tldp.org/LDP/abs/html/io-redirection.html

View Article



Redirect String to STDERR Linux Command

Let's say I have a file that contains a string. When I open it with cat file, I want the output of it to show in STDERR, not STDOUT. How can I achieve that?

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>