- 博客(5)
- 收藏
- 关注
原创 IP和主机名
#!/bin/baship=ip a |grep -w "global eth0" |awk -F 'inet ' '{print$2}'|awk -F '/' '{print$1}'Ipformat=echo ${ip//./-}startwith=“tcs”hostname=“startwith−startwith-startwith−Ipformat”echo $hostnamehostnamectl set-hostname $hostname
2021-03-03 23:12:28 134 1
原创 the language ‘python‘ is named after Monty Python,not the snake
the language ‘python’ is named after Monty Python,not the snake
2020-12-01 18:48:18 255
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人