man -f
If you know a command's name but don't know what it does, there's a quick and dirty way to find out without requiring you to actually open the man page for that command. Use the -f option (or --whatis), and the command's synopsis appears.
$ man -f ls
ls (1) - list directory contents
source scott grannemann
No comments:
Post a Comment