Mailing List Archive


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

Re: [tlug] matching to filter logfile



Hi,
Shawn wrote:
Hi,

how can I match say "eth1" from /var/logs/messages so I can just get
output of the lines that contain that item
How about:
cat /var/log/messages | grep eth1

   Or are you looking for something more?

Alain


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links