(還在更新跟進哦,歡迎指點、收藏、引用喲~)
系統(tǒng)操作-linux常用命令大全[功能分類]
(系統(tǒng)信息、關機注銷)
權(quán)限管理-linux常用命令大全[功能分類]
(用戶群組、文件權(quán)限、特殊屬性)
文件系統(tǒng)-linux常用命令大全[功能分類]
(文件系統(tǒng)掛載、文件系統(tǒng)空間、文件系統(tǒng)分析、
文件系統(tǒng)初始化、swap文件系統(tǒng)、光盤操作)
軟件安裝-linux常用命令大全[功能分類]
(RPM包、YUM包、DEB 包 、APT 軟件工具)
打包壓縮-linux常用命令大全[功能分類]
(打包壓縮)
文件文檔-linux常用命令大全[功能分類]
(文件目錄、文件搜索)
網(wǎng)絡管理-linux常用命令大全[功能大全]
(網(wǎng)絡基礎、Microsoft Windows networks (SAMBA))
花里胡哨-linux常用命令大全[功能大全]
(猜猜~)
-網(wǎng)絡基礎
-Microsoft Windows networks (SAMBA)
命令功能知識點
ifconfig eth0
顯示一個以太網(wǎng)卡的配置
ifup eth0
啟用一個 ‘eth0’ 網(wǎng)絡設備
ifdown eth0
禁用一個 ‘eth0’ 網(wǎng)絡設備
ifconfig eth0 192.168.1.1 netmask 255.255.255.0
控制IP地址
ifconfig eth0 promisc
設置 ‘eth0’ 成混雜模式以嗅探數(shù)據(jù)包 (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 lookup
hostname to resolve name to ip address and viceversa(1)
nslookup
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