欢迎登陆真网站,您的到来是我们的荣幸。 登陆 注册 忘记密码? ☆设为首页 △加入收藏
欢迎加入真幸福QQ群
电脑知识: 基础知识 网络技术 操作系统 办公软件 电脑维修 电脑安全 windows7 windows8 windows10 服务器教程 平板电脑 视频播放教程 网络应用 互联网 工具软件 浏览器教程 QQ技巧 输入法教程 影视制作 YY教程 wps教程 word教程 Excel教程 PowerPoint
云南西双版纳特产小花糯玉米真空包装


Linux系统中git 入门教程
linux下怎样查看哪些进程占用swap空间
解决方法unable to boot - please use a kernel appropria
nginx中针对目录进行IP限制
linux下使用PE创建LVM快照
Ubuntu 12.10 怎么用Root登录
服务器时间跑得快或者不准怎么办
Linux下如何进行SFTP用户权限设置
Mac OS X/Linux系统下怎么清除DNS缓存
如何在linux下做软raid
linux查看ip地址、显示太网卡配置、网络设备
【 来源:网络 】【 点击:1 】 【 发布时间:2017_03_03 08:59:59 】

   ifconfig eth0 显示一个以太网卡的配置

  ifup eth0 启用一个 'eth0' 网络设备

  ifdown eth0 禁用一个 'eth0' 网络设备

  ifconfig eth0 192.168.1.1 netmask 255.255.255.0 控制IP地址

  ifconfig eth0 promisc 设置 'eth0' 成混杂模式以嗅探数据包 (sniffing)

  dhclient eth0 以dhcp模式启用 'eth0'

  route -n show routing table

  route add -net 0/0 gw IP_Gateway configura default gateway

  route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1 configure static route to reach network '192.168.0.0/16'

  route del 0/0 gw IP_gateway remove static route

  echo "1" > /proc/sys/net/ipv4/ip_forward activate ip routing

  hostname show hostname of system

  host www.example.com lookup hostname to resolve name to ip address and viceversa(1)

  nslookup www.example.com lookup hostname to resolve name to ip address and viceversa(2)

  ip link show show link status of all interfaces

  mii-tool eth0 show link status of 'eth0'

  ethtool eth0 show statistics of network card 'eth0'

  netstat -tup show all active network connections and their PID

  netstat -tupl show all network services listening on the system and their PID

  tcpdump tcp port 80 show all HTTP traffic

  iwlist scan show wireless networks

  iwconfig eth1 show configuration of a wireless network card

  hostname show hostname

  host www.example.com lookup hostname to resolve name to ip address and viceversa

  nslookup www.example.com lookup hostname to resolve name to ip address and viceversa

  whois www.example.com lookup on Whois database

  GO TOP INDEX ^

  Microsoft Windows networks (SAMBA)

  nbtscan ip_addr netbios name resolution

  nmblookup -A ip_addr netbios name resolution

  smbclient -L ip_addr/hostname show remote shares of a windows host

  smbget -Rr smb://ip_addr/share like wget can download files from a host windows via smb

  mount -t smbfs -o username=user,password=pass //WinClient/share /mnt/share mount a windows network share

本网站由川南居提供技术支持,fkzxf版权所有 浙ICP备12031891号
淳安分站 淳安分站