Linux Learning notes-Get command Help methods and command categories

Source: Internet
Author: User
Tags case statement

Command type:

inline command: Shell inline

External command: An executable file that has the same path as the command in the file system

Environment variables: named memory space

Assigning values to variables

#printenv Display Environment variables

#hash Show Cache Hit command

Path: Using: A set of paths separated by

0 (1) Find data Speed standard  

Get the command Help method:

1, #help command to get internal command Help, example help CD view CD command assistance information

2, # command--help Get External command help, example LS--help view ls command help information

3. # Man Command view command manual example man ls

Name: command names and function say

Synopsis: Usage notes include detailed available options

<> must choose

[] not required, optional

... Can be repeated multiple times

| Choose one More

DESCRIPTION: Describe the meaning of each option

Filees: The configuration file associated with this command

BUGS

EXAMPLES: Working with instances

See ALSO: Another reference

4. # info COMMAND online documentation

5. #/usr/shared/doc Help Documentation

6. Using Google search solution  

#whatisCOMMAND View Chapters

Sub-chapters:

1. User commands

2. System calls

3. Library calls

4. Special documents (equipment files)

5. File format (configuration file syntax)

6.games

7. Miscellaneous

8. Management commands (/sbin/usr/sbin/usr/local/sbin)

Tips for viewing multi-page documents:

Turn Screen method:

Turn back one screen: space (space)

Turn One screen forward: b

Turn back one line: Enter (enter)

Turn One line forward: K

Find a keyword method:

/keyword Find String

n Backwards

N forward

? keyword

N Backwards

N forward

Common management Commands:

Directory Management

LS CD mkdir rmdir pwd

File Management

Touch Stat file rm cp MV Nan

Date Time

Date Clockhwclock cal

View text

Cat more less head tail

Text Processing

Cut join SED awk grep

Group, user Management

Useradd Userdel usermod passwd ID finger chsh chfn groupadd groupdel groupmod gpasswd su chmod chown chgrp

Statement format

If statement While Statement case statement for statement

Compression, decompression

Bzip2, GZIP,XZ, Zip,bunzip2,gunzip,unxz,tar


This article is from the "Wish_" blog, be sure to keep this source http://itwish.blog.51cto.com/11439802/1961079

Linux Learning notes-Get command Help methods and command categories

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.