Created
May 2, 2017 12:44
-
-
Save virullius/53afa75d4fada304df9c59ae3988af85 to your computer and use it in GitHub Desktop.
Random tool tip of any executable on your PATH (GNU/Linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo ">> Tooltip: $(whatis $(ls $(echo $PATH | tr : ' ') 2>/dev/null | shuf -n 1))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a few of these around, the idea is not mine, but they all seem to make assumptions about the paths. This one uses you PATH environment variable. Paste it into your
~/.profile
, or equivalent, for a tip every time to start a new shell.