Re: Terminal emulation and serial ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Robert Heller wrote:

>> Of course first I tried dmesg, and had to go through lots of output 
>> until the last lines said it is indeed ttyUSB0.  Then I tried 'ls 
>> /dev/tty*' and there it was too.  So I am on my way (I hope)...
> 
> One of the really nifty tools (part of coreutils) is 'tail'.  The
> output of dmesg (or the contents of /var/log/messages) is often large
> (and generally of no interest to the task at hand) and very often the
> info you want is in the last few lines (eg the blather generated by the
> Hotplug code), so it is useful to do:
> 
> % dmesg|tail
> 
> OR
> 
> % tail /var/log/messages
> 
> to get this information.

Or use 'less' for something a little more interactive:
dmesg |less
then you can use all the vi-style motion and search commands like
G - go to end
b - backwards page
?pattern<enter>  - search backwards
etc.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux