[TUHS] Likely a one-liner in Unix
James Frew
frew at ucsb.edu
Tue Jun 11 13:15:29 AEST 2024
OK, I'll bite (NB: using GNU find):
find "$directory_tree" -type f -printf "%A+ %p\n" | sort -r | cut -d' '
-f2 | head -5
Cheers,
/Frew
On 2024-06-10 01:39, Dave Horsfall wrote:
> On Mon, 10 Jun 2024, Ed Bradford wrote:
>
>> [...] people who know how to write stuff in PS are more expensive
>> employees, and development time for asking a simple question like
>>
>> "Show me the last 5 files read in a directory tree"
> Likely a one-liner in Unix :-)
>
> -- Dave
More information about the TUHS
mailing list