1、找出ifconfig命令结果中本机的所有IPv4地址

    centos6取IP:
        [root@centos69 ~]# ifconfig |head -2|tail -1|cut -d: -f2|cut -dB -f1

                wKioL1mJzMvTcnnTAAAeuliBfh4494.png-wh_50

   centos7取IP:
            [root@centos7 ~]# ifconfig |head -2|tail -1|tr -s ' ' ':'|cut -d: -f3

                wKioL1mJzeWRZTG8AAAeAkKd9Do756.png-wh_50

2、查出分区空间使用率的最大百分比值

                wKioL1mJzz7ierERAAAfzgXbxf8764.png-wh_50

3、查出用户UID最大值的用户名、UID及shell类型 

                wKiom1mJ0B3y6pXgAAAmn-x8AC4232.png-wh_50

4、查出/tmp的权限,以数字方式显示 

                wKiom1mJ0VGC6bPXAAAeAsXMY1E333.png-wh_50

5、统计当前连接本机的每个远程主机IP的连接数,并按从大 到小排序

                wKiom1mJ0pLTxS1EAAAoiO91K_M445.png-wh_50