CentOS system management commands
Stat displays information about the specified file.
02.
cd /home/itcast
03.
stat familyA
04.
05.
Who and w show online login users
06.
who
07.
08.
Whoami displays the user's identity
09.
10.
Hostname display Host Name
11.
hostname
12.
Hostname-I display Host IP Address
13.
14.
Uname: displays system information
15.
Uname-a displays all information (kernel name, host name, kernel version number, kernel version, hardware name, processor type, hardware platform type, and operating system name)
16.
17.
18.
Top displays the dynamic display process of processes that consume the most resources in the current system, real-time monitoring
19.
20.
Ps displays Transient Process status
21.
Ps-aux displays the status of all transient processes
22.
23.
Du displays the total disk space used by the specified file (directory). You can use -- help to view help.
24.
du
25.
du familyA
26.
du -h familyA
27.
28.
Df displays the disk space usage of the file system
29.
df
30.
df -h
31.
32.
Free displays the usage of the current memory and swap space
33.
34.
Ifconfig displays network interface information
35.
36.
Ping to test network connectivity
37.
38.
Netstat displays network status information