一、找出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