[kanchilug] [Tip] Get a random command

  • From: "Tha.Suresh" <jemenisuresh@xxxxxxxxx>
  • To: ILUG-C <ilugc@xxxxxxxxxxxxx>, KanchiLug <kanchilug@xxxxxxxxxxxxx>, Linux Delhi <iitdlug@xxxxxxxxxxxxxxxx>, Mlug <glug-meerut@xxxxxxxxxxxxxxxx>
  • Date: Sun, 9 Jan 2011 15:16:39 +0530

Get a random command

$ ls /usr/bin | shuf -n 3

This command will shows 3 random commands, use man for these commands to
learn them. This is useful if you want to explore various commands. The
number at the end, specifies the number of commands.

Ex:

student@pluto:~$ ls /usr/bin | shuf -n 6
atrm
espeak
sha256sum
erl_call
uz
spd-say




-- 
Regards,
Tha.Suresh

Cooool Linux Tips & Tricks,
http://gnutips.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com

Other related posts:

  • » [kanchilug] [Tip] Get a random command - Tha.Suresh