Appearance
Safe Practices
| Method | How |
|---|---|
man <command> | Full manual page (press q to exit) |
<command> --help | Short help text |
tldr <command> | Simple examples (install with brew install tldr) |
which <command> | Show where a command lives |
Safe Practices
- Think before you
rm: There's no undo for deleted files - Don't run commands with
sudounless you understand them:sudoruns as admin - Never paste commands from the internet without reading them first
- Use
lsfirst to see what's in a directory before deleting anything - Back up before running unfamiliar scripts