Using grep Command
[root@new-host sankar]# cat /var/log/messages |grep error
Oct 31 15:52:32 new-host kernel: usb 1-1: device not accepting address 5, error -71
[root@new-host sankar]# grep 'warning\|error\|critical' /var/log/messages
Oct 31 15:52:32 new-host kernel: usb 1-1: device not accepting address 5, error -71
[root@new-host sankar]#
No comments:
Post a Comment