Linux Common commands help command __linux

Source: Internet
Author: User

Linux to view system commands, shell built-in commands, system configuration file help information. Linux help document distinguishes types; 1 stabilizing the Help for the command 5 for the help document for the configuration file


One View system command help

1. Man command: View detailed help information for a command

   1. Command format: man command

   2. Command example: man ls

   3. Sub-command: after entering the man command, you can use the following subcommand:

Page Flip: pageUp Up, pageDown down, space down, P return to the first page

Flip: Arrow down the line, the arrow down the line, Enter down the line

Find:/str find string str, press N Next

Exit: Q

  2. Whatis command: View command cut SMS

   1. Command format: whatis command

  2. Common examples: whatis ls

  3.--help: View commands common options

   1. Command format: command--help

   2. Common examples: ls--help


Two view system configuration file Help

  1. Man: View configuration file details Help information

  1. Command format: man 5 configuration file name

  2. Common examples:man 5 passwd

  2. Apropos: View profile cut SMS

   1. Command format: apropos configuration file

   2. Common examples: apropos Inittab


three view Shell built-in command help:

  1. Command format: help Shell built-in command

  2. Common examples: help if

Linux does not provide a command to view all of the shell's built-in commands and can be viewed through the man shell built-in commands, such as Man If, man CD, etc.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.