Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jan 082007
 

Ignoring the program's output

Answer:

Sometimes, you want to throw away the standard output (stdout) from a particular program/command, you can redirect the stdout the the /dev/null

cat test.txt > /dev/null

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>