LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-20-2002, 06:42 AM   #1
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
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
 
Old 11-20-2002, 08:16 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert an info file(bash.info.gz) to a single html file Darwish Linux - Software 2 09-24-2005 06:51 AM
Help me, how to debug this? lmmix Programming 1 03-03-2005 07:21 AM
Redirecting debug info to another file subu_s Programming 1 12-07-2004 01:15 PM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 02:13 AM
rpmbuild without stripping debug info gdaly77 Linux - Software 0 05-27-2004 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration