LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   curious about error messages... (https://www.linuxquestions.org/questions/linux-newbie-8/curious-about-error-messages-158968/)

pyre 03-17-2004 11:02 AM

curious about error messages...
 
Quick question... I was curious if the shell labeled error messages with say a tag of "1" and other messages with a tag of "0" or something like that. basically I want to make my shell output errors, or messages with a tag of "1" to one console (Error console) and all other messages to an output shell, or messages console, with a tag of "0". I hope this makes sense. I thought it would be a cool effect. thanks.

(if your asking "why?" my answer to you is...why NOT? high customization is hallmark of linux...right? :) )

pyre 03-17-2004 11:39 AM

Just in case anybody cares about setting this up on their system....go here

http://linux.about.com/library/bl/op...ewbie3.4.7.htm

shoulda googled first but i couldn't think of how to word the search terms...then it hit me. :)

Komakino 03-17-2004 01:07 PM

well to redirect error output you can use 2> (I think, might be 1>), ie:
Code:

gimp 2> myfile.txt
will redirect any gimp errors to myfile.txt.


All times are GMT -5. The time now is 06:21 AM.