LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2004, 11:02 AM   #1
pyre
Member
 
Registered: Nov 2003
Distribution: Redhat linux 9, Fedra Core 1, Gentoo, Debian (woody), Mandrake 9.2
Posts: 75

Rep: Reputation: 15
Question 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? )
 
Old 03-17-2004, 11:39 AM   #2
pyre
Member
 
Registered: Nov 2003
Distribution: Redhat linux 9, Fedra Core 1, Gentoo, Debian (woody), Mandrake 9.2
Posts: 75

Original Poster
Rep: Reputation: 15
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.
 
Old 03-17-2004, 01:07 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Curious dhcpd error thosm Linux - Networking 7 08-31-2005 01:22 PM
From where am i getting error messages to /var/log/messages? prabhuacsp Programming 3 02-16-2005 08:59 AM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM
curious iptables error on startup brutal_brad Linux - Laptop and Netbook 2 09-20-2003 05:20 PM
curious error msg on startup brutal_brad Linux - Newbie 2 09-20-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 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