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