2020年7月20日

摘要: 创建 ip.sh 文件,文件内容为 ifconfig -a | grep -e "inet[^6]" |\ sed -e "s/.*inet[^6][^0-9]*\([0-9.]*\)[^0-9]*.*/\1/" |\ grep -v "^127\." chmod a+x ip.sh 就可以用了 阅读全文
posted @ 2020-07-20 11:06 bbb324 阅读(150) 评论(0) 推荐(0) 编辑

导航