Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get a random man page
alias randman='dir="/bin"; man $(ls $dir |sed -n "$(echo $(( $RANDOM % $(ls $dir |wc -l | awk "{ print $1; }" ) + 1 )) )p")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment