[ root @ Alex wong/] # hostname-I|awk-f ' ' { printf $1} ' 192.168.0.16悲伤的镜子
[root@AlexWong mnt]# cat test.sh#!/bin/baship=$ (hostname-I|awk-f ' ' { printf $1} ' ) echo $ IP [根@ alexwongmnt ] # sh test.sh 192.168.)
[ root @ Alex wong/] # hostname-I|awk-f ' ' { printf $1} ' 192.168.0.16悲伤的镜子
[root@AlexWong mnt]# cat test.sh#!/bin/baship=$ (hostname-I|awk-f ' ' { printf $1} ' ) echo $ IP [根@ alexwongmnt ] # sh test.sh 192.168.)
版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。