02-常用linux命令2.5.pptVIP

  • 3
  • 0
  • 约3.95千字
  • 约 28页
  • 2017-05-30 发布于北京
  • 举报
第2章 常用的linux命令 郑州大学升达经贸管理学院资讯系 2.5网络命令-hostname 显示或设置系统的主机名: hostname [主机名] 例: [root @test test]# hostname test 2.5网络命令-ping 测试本主机和目标主机连通性:ping 参数: -c count:共发出count次信息,不加此项,则发出无限次。 按:ctrl+c退出 [root @test test]# ping –c 5 2.5网络命令-host IP地址查找工具:host [主机名或者IP地址] [root @test test]#host 2.5网络命令-ifconfig 配置网卡和显示网卡信息的工具:ifconfig [root @test test]#ifconfig –a -a:显示激活的网卡信息,没激活的不显示 [root @test test]#ifconfig eth0 down 关闭网卡 [root @test test]#ifconfig eth0 up 激活网卡 [root @test test]#ifconfig eth0 00 netmask 2.5网络命令-traceroute 显示本机到达目标主机的路由路径:traceroute [root @test test]#traceroute 显示数据从本机到

文档评论(0)

1亿VIP精品文档

相关文档