命令:

ip  address 简写ip  a

 

过滤出来某个网卡的ip:

ip a show ens33 |awk -F ' ' 'NR==3{print$2}'|cut -d / -f1

 

相关文章:

  • 2022-01-01
  • 2021-11-18
  • 2021-09-24
  • 2021-12-21
  • 2022-01-27
  • 2022-12-23
  • 2021-07-17
  • 2021-04-12
猜你喜欢
  • 2021-07-01
  • 2021-06-09
  • 2021-11-28
  • 2021-11-30
  • 2021-12-05
  • 2021-11-24
  • 2022-01-15
相关资源
相似解决方案