//View Tip #252
Similar Tips
» Sort the lines of a file by length
» Sort a file by line length
» Strip header
» Add header/footer to command output
» Zero files

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
cat file.txt | sort -R | tail -1

pokes a random line from a file


View Comments »




Comments 

Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit