I'm trying to find out what the oldest occurrence of an event was - as in, opposite of head. Is there such a command?
I've tried using " * | reverse | head 1 " which works but is very slow and inefficient.
'tail' is implimented in 4.1.5
View solution in original post
awesome awesome awesome!!!
tail fail tail fail
| sort _time, that is, no - sign...
i tried that, and then i tried * | sort -_time and this seems to be faster. I am unaware of a command that is the opposite of head...