Skip to contentSkip to conversation

view a file in reverse order

DISCUSSION yayati 3 participants 3 messages Sep 28, 2004

lore
Share & tools
lore

yayati

author
#0 lore raw

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.

#1 lore raw

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

#2 lore raw
In reply to yayati

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