
Ubuntu Bash Script Advice?
So far I got this
apropos man > $HOME/Downloads/fcList.txt
cd $HOME/Downloads/
shuf -n 1 fcList.txt
this returns some of the commands randomly like i didnt see shuf in the list I want to grep this data to get the string up to the first space and then man $X that so it will output the man page for the command.
Eventually I think this script should come with linux I call it ranman It will get a random linux command and search the man pages for it.

-
AvoAvocado -
[ 1 ] Thanks - Reply
{{ DiscussionBoard.errors[11444463].message }} -