摘要: # 完成一个shell脚本,脚本的作用 ## 1. 运行脚本可以显示出本机的ip地址 (1)脚本 ```bash [root@Rocky8 ~]# cat IP.sh #!/bin/bash ip address show ens160 | sed -n 3p | awk '{print $2;}' 阅读全文
posted @ 2023-06-10 18:38 茨格 阅读(49) 评论(0) 推荐(0)