//View Tip #252
Similar Tips
» Count files by type
» Actively Monitor a File
» Moved Trac and Subversion repositories to another machine/direct
» Crawl a web page for links
» Sort the lines of a file by length


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 »


Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit