![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cat /dev/null | freakydancer | UNIX for Dummies Questions & Answers | 4 | 09-10-2008 12:34 PM |
| compare null with non-null | nitin | Shell Programming and Scripting | 8 | 11-04-2006 04:58 PM |
| > /dev/null | rrs | Shell Programming and Scripting | 2 | 06-19-2006 01:29 AM |
| Null Value | Khoomfire | UNIX for Advanced & Expert Users | 1 | 04-10-2006 06:55 AM |
| /dev/null | sam71 | UNIX for Dummies Questions & Answers | 3 | 05-05-2005 06:25 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Maybe it's an stupid question but remeber... I'm Junior..
I use command line to run programs, and some of them gives a lot of information when, for example, you open a window or other actions. That's really bad because my terminal gets full of unwanted messages, so I use "bin file & >/dev/null" to avoid the problem. It work's fine for almost any program but it doesn't work for others ( mozilla ). I know that maybe is because the file that I execute calls other files and are the others that send those messages to my screen. So here is my question: How can I force a file and childs to use /dev/null as info/error output. Thanx and sorry for my poor english. It's not my natural language.. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Try...
someprog > /dev/null 2>&1 & ...this will run "someprog" in the background with stdout redirected to /dev/null and stderr redirected to stdout (now /dev/null) |
||||
| Google The UNIX and Linux Forums |