$ CLI Academy

Power Tools

Getting Help

Use built-in docs when you forget flags or syntax.

man ls opens the manual page for ls. Navigate with arrow keys; quit with q.

Many commands support --help for a quick summary: grep --help.

Inside bash, help cd shows shell builtins.

When stuck: read the error message, then man or --help on the command you used.

$ Commands to try

$ man ls
$ ls --help
$ help cd
$ type ls

Practice exercise

Run man ls and find what the -h flag does (human-readable sizes). Quit with q.