[ubuntu-in] Command Line Problems
Jasbir Khehra
jasbir.k at gmail.com
Tue Oct 23 12:38:12 BST 2007
On 10/19/07, ramnarayan.k at gmail.com <ramnarayan.k at gmail.com> wrote:
< big snip>
> ***
> hoping to know whats happening and how to rectify it.
>
> thanks
> ram
Hi, using the '-c' option clears the buffer contents after printing
them once. Therefore subsequent 'dmesg -c' will output nothing unless
some kernel activity has take place.
*1 dont use '-c' , "dmesg > boot.txt" , will work fine.
*2 su is required for dmesg -c but not for dmesg (witout any options)
*3 covered by 1&2 above.
Also you can have a look at /var/log/kern.log for all the kernel messages.
Run a $ tail -f /var/log/kern.log then watch the messages fly past as
you plug your devices .
HTH,
Jasbir.
More information about the ubuntu-in
mailing list