You are not logged in.
I do this now:
find /full/directory/name -type f | sort -R | head -1
Yet using three processes sounds a waste, is there a smarter way?
Offline
ls
then close your eyes, spin around a few times, and put your finger on the screen
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
funny, yes... very fun.
Offline
Make sure to do LC_ALL=C sort -R, read the manpage for why.
[git] | [AURpkgs] | [arch-games]
Offline