📜  Linux网络命令

📅  最后修改于: 2020-12-08 08:50:18             🧑  作者: Mango

Linux网络命令

每台计算机都通过内部或外部网络通过网络连接到其他计算机,以交换某些信息。该网络可以很小,就像您在家中或办公室中连接的某些计算机一样,也可以像大型大学或整个Internet中那样庞大或复杂。

维护系统的网络是系统/网络管理员的任务。他们的任务包括网络配置和故障排除。

这是网络和故障排除命令的列表:

ifconfig Display and manipulate route and network interfaces.
ip It is a replacement of ifconfig command.
traceroute Network troubleshooting utility.
tracepath Similar to traceroute but doesn’t require root privileges.
ping To check connectivity between two nodes.
netstat Display connection information.
ss It is a replacement of netstat.
dig Query DNS related information.
nslookup Find DNS related query.
route Shows and manipulate IP routing table.
host Performs DNS lookups.
arp View or add contents of the kernel’s ARP table.
iwconfig Used to configure wireless network interface.
hostname To identify a network name.
curl or wget To download a file from internet.
mtr Combines ping and tracepath into a single command.
whois Will tell you about the website’s whois.
ifplugstatus Tells whether a cable is plugged in or not.