Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-13-2006, 12:36 AM   #1
LQ Newbie
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
Lightbulb Output redirection???

Hi every one, here is my problem:
my X doesn't work and i do things in cli, when i'm trying to bring up my wireless card , its driver start send all its messages to all vt's\tty's in the same time, i suppose it's normal but it doesn't let me type another commands....
I know the proper way to redirect command output , but apparently this is not the case....
i would be happy if someone gave me tips how to deal with CLI without X in particular situation and in general..

Old 06-13-2006, 09:22 AM   #2
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 77
man 8 dmesg
Old 06-13-2006, 10:03 AM   #3
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
If it's the driver that's printing the messages, then they're probably coming from the kernel. You shouldn't lose your shell unless the system panics or something disastrous like that happens. But you will lose your prompt when a message from the kernel gets written to the screen (because the shell isn't aware that something else wrote a message to the terminal, the shell doesn't know that it has to re-print the prompt). If hitting enter a few times doesn't get your prompt back, something else is wrong. Maybe the program you're running to enable the wireless device is actually hanging, so the shell never gets to continue execution. In Linux, I don't know; but in BSD only one VT (called the "console") actually gets kernel messages, while the rest stay clean. If the problem is that kernel messages get written to all VTs, there's probably some way you can change that in your system's terminal configuration file. For a guess, it's /etc/ttys on BSD.
Old 06-13-2006, 12:17 PM   #4
LQ Newbie
Registered: Aug 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you man for such a detailed response. I'm going to dig in the direction you gave me.


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
tar command output redirection ah_kayyali Linux - Newbie 4 03-19-2006 06:30 AM
what is output redirection? LinuxPadawan General 5 05-18-2005 12:53 PM
Output redirection rmartine Linux - Newbie 2 01-25-2005 06:31 PM
output redirection to another directory spyghost Linux - Software 3 09-21-2003 09:28 AM
Output redirection legtester Linux - General 4 07-07-2003 02:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 PM.

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