Oh yeah don't forget about man pages and --help arguments.

for instance, i wasnt sure how to only list directories within a directory so i typed:

ls --help

which helped me to find the -D argument to list only directories.

man pages are short for manual.. aka

man ls

or man vi