Is there any way to make the Log cat entries in in Reverse Chronological Order?
Asked
Active
Viewed 249 times
0
-
I've Windows installation of eclipse – Mithun Sreedharan Dec 29 '11 at 05:08
1 Answers
0
The tac(1)
utility from the Debian / Ubuntu package coreutils
can easily print files in reverse. tac /path/to/log/file
If you don't have tac(1)
installed, perhaps you have nl(1)
, sort(1)
, and cut(1)
installed; try nl /path/to/log/file | sort -rn | cut -f2-

sarnold
- 102,305
- 22
- 181
- 238