摘要: 1、whichwhich - shows the full path of (shell) commands.which [option]2、whereiswhereis - locate the binary, source, and manual page files for a commandwhereis [option] filename3、findfind - search for files in a directory hierarchyfind [option] [path] expression -mtime n File's data was last modif 阅读全文
posted @ 2011-09-29 20:28 浪里飞 阅读(265) 评论(0) 推荐(0)
摘要: 3、route 1)route [-nee] route add [-net|-host] [网域或主机] netmask [mask] [gw|dev] route del [-net|-host] [网域或主机] netmask [mask] [gw|dev] 2)option ① -n:不使用协议或主机名称,直接使用IP或port number; ②... 阅读全文
posted @ 2011-09-29 17:15 浪里飞 阅读(1317) 评论(0) 推荐(0)
摘要: 1、netstat 1) netstat [option] 与路由 (route) 有关的参数说明: ① -r:列出路由表(route table),功能如同 route 这个指令; ② -n:不使用主机名称与服务名称,使用 IP 与 port number,如同 route -n 与网络界面有关的参数: ③ -a:列出所有的连线状态,包括 tcp/udp/unix socket 等;... 阅读全文
posted @ 2011-09-29 17:13 浪里飞 阅读(1608) 评论(0) 推荐(0)
摘要: 1、host 1)DNS lookup utility host option {name} [server] 使用 /etc/resolv.conf 中server来作为 DNS 服务器的来源选择 2)option -a :列出该主机详细的各项主机名称设定资料 3)示例 host www.google.com 2、nslookup - ... 阅读全文
posted @ 2011-09-29 10:23 浪里飞 阅读(2005) 评论(0) 推荐(0)