On Wed, Feb 28, 2007 at 08:43:42PM +0100, bajongo wrote:
I dunno what to do to read /var/log/messages. In Konqueror it tells me that I don't have sufficient authorization to read it. In bash as root I don't know how to open it.
Okay. /var/log/messages is a simply text file, so you can do: tail -n 20 /var/log/messages This will display the last 20 lines or cat /var/log/messagesThis will dump the whole file at your screen and you have a lot to scroll.
or less /var/log/messagesThis will open the file in the program less which is a so called pager. You can use the arrow keys to navigate, G will jump to the end of the file, g to the beginning, q will exit the program.
The program dmesg will work as normal user and will print the last 16kb of kernel messages. For further information see the manual pages of these programs (man tail, man cat, man less, or man dmesg).
Shade and sweet water! StephanPS: It seems your system uses a German locale setting, so most messages are not in a language suitable for an international list. If you write a „env LANG=C” before the program you want to use, the messages will be in English (e.g. „env LANG=C ls –help” will print the English help of ls).
-- | Stephan Seitz E-Mail: Nur-Ab-Sal@xxxxxx | | PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |
Attachment:
signature.asc
Description: Digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user