• Home
  • About Me
  • Welcome to Short Linux hints
Short hints about Linux


  • Tags

    hacking Linux linux cpanel courier maildir mailbox exim security viruses worms
  • Blogroll

    • Geany
    • Handy one-liners for sed
    • Linux By Example
    • Penguin Tutor

Oct 14

Having fun with /dev/console

LPI Add comments

While wondering how to direct output to my console I come upon a funny thing. Under Ubuntu 8.04.1 try sudo cat /dev/console and just watch (if you can) :) I know it is stupid but this is just another outdated thing which is questioned in the current LPI exam :)

Anyway, according to some sources output directed to /dev/console should be shown on the xconsole session :) This should be especially useful when debugging applications. Presumably, if you know the facility and the priority of the debugging messages, you could direct them through syslog to the console.

Comments are closed.

Powered by WordPress .::. Designed by SiteGround Web Hosting

cssandhtml