Linux command format and help commands

Source: Internet
Author: User
Tags documentation

Yesterday I saw a tutorial, aboutLinuxCommand, originally thought that when is review casually to look at, the result looked can not help but ashamed, this really has learned, many things are I do not know, therefore summarizes, this article is suitable for the Linux command to have certain understanding but is not very deep child, if is the initial contact Linux command is not suitable ~ ~

Linux commandsformat
command [options] [arguments]
Command: Commands
Options:--words or-word
such as: LS--all
Equ ls-a
Ls-a-b-c
Equ LS-ABC
Argument: parameter (file name or other)

When you view the command help, symbols such as [],<>,|] appear, meaning the following:
[] the expression is optional;
<> the expression is changeable;
X|y|z indicates that onlySelectA
-ABC represents a mixed use of three parameters (or any two)

Help command:
Whatis <command>: Show Short function description

<command>--help: Show usage Summary and parameter list (you can see the usage of most commands)

man [<chapter>] <command>: View command description or manual page (Manual)
Note: descriptionfileare divided into different pages, the man command is to view these pages
Manual Sections
1:user commands (*) 4:special files 7:miscellaneous
2:system calls 5:file formats 8:administrative commands (*)
3:library calls 6:games
Bottom line under the Man commandMode
/<text> Find Keywords
n/n Next/Previous
Q Leave
Man-k <keyword> List of man pages with keyword keywords

Info <command>: View command Detailed documentation
NOTE: info looks at a more detailed description than man, which is to divide the man's page into smaller chapters.
This command can also be linked to similar topics
Info command Bottom-line mode:
Arrows.pageUp.pageDown switching
Tab Jump down a link (where there is *)
Enter Enter link
N/p/u Jump down One (previous) section, previous section
S[<text>] Find keywords
Q Leave


<command>--?

usr/share/doc/Description File Directory
http://www.redhat.com/docs/online documentation

Linux command format and help commands

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.