一、找出ifconfig命令結果中本機的全部IPv4地址shell
centos6取IP: [root@centos69 ~]# ifconfig |head -2|tail -1|cut -d: -f2|cut -dB -f1
centos7取IP: [root@centos7 ~]# ifconfig |head -2|tail -1|tr -s ' ' ':'|cut -d: -f3
二、查出分區空間使用率的最大百分比值centos
三、查出用戶UID最大值的用戶名、UID及shell類型 bash
四、查出/tmp的權限,以數字方式顯示 ide
五、統計當前鏈接本機的每一個遠程主機IP的鏈接數,並按從大 到小排序centos7