Linux essence set

Source: Internet
Author: User

Linux essence set

 

Linux Command list
----------------------------
Command description
----------------------------
Clear terminal screen
The reset uses the default terminal to set the reset terminal.
Finger displays information on system users
Who displays the current Login User
Whoami is your login name
ID: displays the ID of your account and group, that is, UID and GID.
Date: displays the current date and time.
Cal displays the calendar of the current month
Exit to exit the Current Shell
----------------------------

Common BASH Shell Meta-tables
----------------------------
Metacharacter description
----------------------------
$ Shell variable
~ The specified home directory variable.
& Background Command Execution Method
; Command Terminator
<> Input/output redirection
| Command Pipeline
*? [] Shell wildcard
'"/Metacharacters reference
'COMMAND replacement
() {} Command Group
----------------------------

Best Practice: Avoid using metacharacters whenever possible when you type a command, unless you need to use the special features of metacharacters.

On the terminal, type:
Man whoami
Display:
 
Note that whoami (1) is displayed on the top, and (1) indicates that whoami is a command.

Number table on the manual page
--------------------------------------
Description
--------------------------------------
1. commands that can be executed by all users
2 Linux system call
3. Database subroutine
4. Special Device Files
5 File Format
6 Games
7 macro packages
8. commands that only root users can execute
9 Linux connotation subroutine
N unclassified new commands
--------------------------------------

Easy-to-Forget shutdown command
Shutdown instance table
--------------------------------------
Command description
--------------------------------------
Shutdown-H + 4 minutes to stop the system
Shutdown-R + 4 restart the system within 4 minutes
Shutdown-H now stop the system immediately
Shutdown-R now restart the system immediately
Shutdown-C cancel the scheduled stop
Halt stop the system immediately
Reboot immediately restarts the system
--------------------------------------

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.