美文网首页
网络管理-linux常用命令大全[功能大全]

网络管理-linux常用命令大全[功能大全]

作者: Amdur | 来源:发表于2019-03-21 14:13 被阅读0次

(还在更新跟进哦,欢迎指点、收藏、引用哟~)


目录总览


系统操作-linux常用命令大全[功能分类]
(系统信息、关机注销)
权限管理-linux常用命令大全[功能分类]
(用户群组、文件权限、特殊属性)
文件系统-linux常用命令大全[功能分类]
(文件系统挂载、文件系统空间、文件系统分析、
文件系统初始化、swap文件系统、光盘操作)
软件安装-linux常用命令大全[功能分类]
(RPM包、YUM包、DEB 包 、APT 软件工具)
打包压缩-linux常用命令大全[功能分类]
(打包压缩)
文件文档-linux常用命令大全[功能分类]
(文件目录、文件搜索)
网络管理-linux常用命令大全[功能大全]
(网络基础、Microsoft Windows networks (SAMBA))
花里胡哨-linux常用命令大全[功能大全]
(猜猜~)


本段大纲

-网络基础
-Microsoft Windows networks (SAMBA)


网络 - (以太网和WIFI无线)


命令 功能 知识点
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 链接

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 链接

相关文章

网友评论

      本文标题:网络管理-linux常用命令大全[功能大全]

      本文链接:https://www.haomeiwen.com/subject/ijbqvqtx.html