Home > Articles

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Quickly Find Out What a Command Does Based on Its Name

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
  • + Share This
  • 🔖 Save To Your Account