At 1/24/2002 12:29 PM -0500, you wrote:
>Which command I can start to read /var/log/messages
>from the latest date?

Simple:

# grep "Jan 24" /var/log/messages | less

Remember that the day-of-the-month is *always* in two digits. Hence for 
Feb/1 you'd use "Feb  1" (note two spaces instead of one).

If you want to get cute:

# grep `date +"%b %e"` /var/log/messages | less


--
Rodolfo J. Paiz
[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to