1. View system architecture and kernel information
1>uname [Options]
Common options:
-I display System hardware platform
-m display host CPU name
-N Display node name
-O Display Operating system name
-p Display System processor architecture
-R Displays the release version number of the operating system
-S display system name
-V Show kernel version
-A display system architecture and kernel information
2>LSB_RELEASE-D Display System version information
The information that displays the/etc/redhat-release file record
3> hostname View Host name
Set the configuration file for the host name:/etc/sysconfig/network
Hostname= (hostname) permanently set host name
Temporarily set host Name: hostname (temporary hostname) fails after reboot
4> viewing CPU and memory information
/proc/cpuinfo CPU Information
/proc/meminfo Memory Information
2, linxu shutdown, restart command
1> shut down the machine
shutdown [Options]
Common options:
-H now shuts down
+15 "System would shutdown after minutes" shuts down after 15 minutes and sends a warning message to the logged-in user
Poweroff immediately shut down the machine
Init 0 shuts down immediately
2> restart
Shutdown-r +15 15 minutes after restart
Reboot immediate Restart
Linux Command Supplements-1