0
点赞
收藏
分享

微信扫一扫

shell_自动设置主机名

余寿 2022-07-18 阅读 26


hostnamectl set-hostname $(grep $(hostname -I) /etc/hosts|awk '{print $2}')


举报

相关推荐

0 条评论