bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
Learn/Bash/Basic Commands
Bash•Basic Commands

Bash man Command - User Manual

Using the man Command

The man command is used to display the user manual of any command that can be run on the terminal.

It's a valuable resource for understanding command usage, options, and examples.

Syntax

The basic syntax of the man command is:

Example: Man Command Syntax

man [command]

If you are using Git Bash for Windows, man is not supported. Instead, you can use [command] --help command. For example, ls --help

Example: View Manual for ls

man ls

Example: View Manual for grep

man grep

Common Uses

The man command is commonly used to:

  • Learn about command options and usage.
  • Understand command syntax and examples.
  • Access detailed documentation for troubleshooting.

Previous

Bash mkdir Command - Make Directories

Next

Bash alias

This chapter

Overview
13

Lessons

31m

Read time

1. Bash Commands Overview2. Bash ls Command - List Directory Contents3. Bash cd - Change Directory4. Bash pwd Command - Print Working Directory5. Bash echo Command - Display Text6. Bash cat Command - Concatenate and Display Files7. Bash cp - Copy Files and Directories8. Bash mv Command - Move or Rename Files9. Bash rm Command - Remove Files or Directories10. Bash touch Command - Change File Timestamps11. Bash mkdir Command - Make Directories12. Bash man Command - User Manual13. Bash alias

On this page

Using the man CommandExample: Man Command SyntaxExample: View Manual for lsExample: View Manual for grepCommon Uses