[H-GEN] chestnut
t
s4565 at lycos.co.uk
Wed Mar 26 19:52:43 EST 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> rm `ls -tr | tail -1`
i think that will match directories as well
on a redhat 7.2 box i think
\rm `find -maxdepth 1 -type f | xargs \ls -lt | awk '{print $9}' | tail -1`
should work
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list