可以查看IP地址与子网掩码

 

 ifdown(禁用网卡)


 

ifdown  网络设备名

ifdown eth0  

 

ifup (启动网卡)


 

 

ifup  网络设备名

ifup  eth0  

 

netstat


 

netstat 用于查看网络状态

常用组合: netstat -tuln      netstat -an

-t  列出TCP协议端口
-u 列出UDP协议端口
-n 不使用域名与服务名,使用IP地址与端口号
-l 仅列出在监听状态的网络服务
-a 列出所有的网络连接

 

相关文章:

  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-07-16
  • 2022-01-10
  • 2021-12-19
猜你喜欢
  • 2022-12-23
  • 2021-05-31
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2021-12-04
相关资源
相似解决方案