The goal of this gist is to provide a list of the most common/useful shell commands.
command | stands for | common usage | description |
---|---|---|---|
man |
manual | man | display the man page for the given comand. If you're wondering how to use any command, this is the go-to place for help. It provides information about what the command does, how to use it, what flags it has, and lots more. |
<command> --help |
While it's not an actual command, I thought it'd be useful to include it. While man will get you the most thorough information about a command, many commands don't provide man pages. Also sometimes it's useful to get a less verbose help message. In those cases, --help /-h is what you want. |
||
<command> -h |
^ see above ^ | ||
cd |
change directory | cd |
move to the given directory |