view a file in reverse order
I wanted to see the message.d log file in reverse order, to check the latest system messages, no not using tail command, since in tail its a finite number of lines but i may not know upto which line i may have to go.
thanks in advance.
Regards
Yayati.
Hi,
In my system, I have a program called tac which does the job. ( opposite of cat).
Anindya.
Quoted 14 lines · yayati
I wanted to see the message.d log file in reverse order, to check the latest system messages, no not using tail command, since in tail its a finite number of lines but i may not know upto which line i may have to go.
thanks in advance.
Regards
Yayati.-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
man tac
Quoted 14 lines · yayati
I wanted to see the message.d log file in reverse order, to check the latest system messages, no not using tail command, since in tail its a finite number of lines but i may not know upto which line i may have to go.
thanks in advance.
Regards
Yayati.-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html