Linux operating system and common commands 2. Common commands in linux

Source: Internet
Author: User
Tags net time

Linux operating system and common commands 2. Common commands in linux

Date: Time Management

Linux:

Hardware clock: clock, hwclock

Hwclock

-W: Change the hardware clock

-S: Change the system clock

System clock: date

Rtc: real time clock

Ntp: net time protocol

 

Get Command help:

Internal command:

Help COMMAND:

External commands:

COMMAND -- help

 

Command manual: manual

Man COMMAND

 

Whatis COMMAND: view the COMMAND section

Sub-sections:

1: USER command/bin,/usr/bin, usr/local/bin

2: System Call

3: Library call

4: Special files (device files)

5. File Format: explains the syntax of the configuration file.

6: Games

7: miscellaneous

8: management commands/sbin,/usr/sbin,/usr/local/sbin

 

[]: Can be omitted

<>: Required.

...: You can use multiple

|: Select one more

{}: Group

 

MAN:

NAME:

SYNOPSIS: Summary, outline

DESCRIPTION:

OPTIONS:

FILES:

BUGS:

EXAMPLES: Example

See also: SEE other

 

Screen flip:

Flip back: SPACE

One screen forward: B

Flip One Line Backward: ENTER

One row forward: k

 

Search:

/KEYWORD: backward

N: Next

N: Previous

? KEYWORD: Forward

N: Next

N: Previous

Q: Exit

 

Online Documentation:

Info COMMAND

 

Cal: calendar, view calendar

 

Echo: displays a line of text

Echo-e: Enable escape characters

\ N: line feed

 

Printf: Format and print data

\ N: line feed

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.