[root@linuxserver home]# [用戶名@主機名 當前目錄]用戶權限($表示普通用戶,#表示管理員用戶) [root@linux]# date # 查看當前系統時間 ------------------------------------------------------------------------------------ 如下四個都是關機命令: [root@linux]# shutdown -h now [root@linux]# halt [root@linux]# init 0 [root@linux]# poweroff ----------------------------------------------- [root@linux]# login # 註銷(還能夠按Ctrl+d) ----------------------------------------------- 如下三個都是重啓命令: [root@linux]# reboot [root@linux]# shutdown -r now [root@linux]# init 6 ----------------------------------------------- [root@linux]# history # 顯示歷史使用命令 ---------------------------------------------------------------------------------------------------------- [root@linux]# ifconfig eth0 192.168.X.X netmask 255.255.255.0 # 臨時更改IP地址(重啓無效) [root@linux]# ifconfig eth0:1 192.168.X.X netmask 255.255.255.0 # 給一張網卡綁定多個IP地址 ----------------------------------------------------------------------------------------------------------