I was reading "Python: for Unix and Linux System Administration" when I
came accross the default location for most of my computer's terminal
commands. While looking through the list, I realized that I only knew
of the more common commands, but there a plenty of other useful commands
on my computer.
I am writing this tool in hope that I can use it to become more familiar
with these commands.
git clone git@github.com:crazcalm/DiscoverMyUnixCommands.git
input: python unix_cmd.py -h
output: usage: unix_cmd.py [-h] (-d, --default | -l, --local | -a, --all)
[-s, --startswith S, __STARTSWITH | -i, --includes I, __INCLUDES]
A tool to help discover the terminal commands on your Unix Based Machine.
optional arguments:
-h, --help show this help message and exit
-d, --default lists files from /usr/bin directory
-l, --local lists files from the /usr/local/bin directory
-a, --all Lists files from both /usr/bin and /usr/local/bin
directories
-s, --startswith S, __STARTSWITH
applies a grep '^char' filter to the output
-i, --includes I, __INCLUDES
applies a grep 'string' filter to the output
use: 'man [cmd]' or '[cmd] -h' or '[cmd] --help' to see how that cmd is used
The very basic commands (like "ls", "rm", "cp", etc) are not in either of
the directories that I am searching through.
If you know which directory those commands are located in, feel free to add
it into the code or contacts me and I'll add it.
http://kkovacs.eu/cool-but-obscure-unix-tools
https://github.com/Homebrew/homebrew-games
http://www.makeuseof.com/tag/these-6-awesome-terminal-commands-will-boost-your-macbook/
http://www.tecmint.com/20-funny-commands-of-linux-or-linux-is-fun-in-terminal/