LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   redirect debug info (https://www.linuxquestions.org/questions/linux-general-1/redirect-debug-info-35961/)

raven 11-20-2002 06:42 AM

redirect debug info
 
hello

som programs likde kmail for example print lots of stuff (debug info and so) when executed from a shell (xterm).

how can I redirect this output to /dev/null?

thanks

raven

Mik 11-20-2002 08:16 AM

You should use the > to direct the output. There are different output streams which you can redirect. 1 stdout, 2 stderr. Anyways the bash man page explains all about it. You should jump to the section REDIRECTION. If you don't feel like reading and want a quick answer then just start the programs like this:

programname &> /dev/null


All times are GMT -5. The time now is 02:18 PM.