70+ Linux networking commands with explanation π§β
1. arp - manipulate the system ARP cache
2. aria2 β downloading just about everything. Torrents included.
3. arpwatch β Ethernet Activity Monitor.
5. bmon β bandwidth monitor and rate estimator.
6. bwm-ng β live network bandwidth monitor.
2. aria2 β downloading just about everything. Torrents included.
3. arpwatch β Ethernet Activity Monitor.
5. bmon β bandwidth monitor and rate estimator.
6. bwm-ng β live network bandwidth monitor.
7. curl β transferring data from or to a server.
8. darkstat β captures network traffic, usage statistics.
9. dhclient β Dynamic Host Configuration Protocol Client.
10. dig β a flexible tool for interrogating DNS name servers.
8. darkstat β captures network traffic, usage statistics.
9. dhclient β Dynamic Host Configuration Protocol Client.
10. dig β a flexible tool for interrogating DNS name servers.
11. dstat β replacement for vmstat, iostat, mpstat, netstat and ifstat.
12. ethtool β utility for controlling network drivers and hardware. 13. gated β gateway routing daemon.
12. ethtool β utility for controlling network drivers and hardware. 13. gated β gateway routing daemon.
14. host β a simple utility for performing DNS lookups. It is normally used to convert names
to IP addresses and vice versa.
to IP addresses and vice versa.
15. hping3 β send custom TCP/IP packets and to display target replies like ping program does with ICMP replies.
16. ping - used to check for connectivity between end hosts
16. ping - used to check for connectivity between end hosts
17. fping - like ping, but fping differs from ping in that you can specify any number of targets on the command line, or specify a file containing the lists of targets to ping.
18. ibmonitor β shows bandwidth and total data transferred.
19. ifstat β report network interfaces bandwidth.
20. iftop β display bandwidth usage.
21. ip β show or manipulate routing, network devices, interfaces and tunnels. ip command has more features than ifconfig.
19. ifstat β report network interfaces bandwidth.
20. iftop β display bandwidth usage.
21. ip β show or manipulate routing, network devices, interfaces and tunnels. ip command has more features than ifconfig.
22. iperf3 β network bandwidth measurement tool.
23. iproute2 β collection of utilities for controlling TCP/IP.
24.iptables / ip6tables β administration tool for IPv4/IPv6 packet filtering and NAT.
25. IPTraf β An IP Network Monitor.
23. iproute2 β collection of utilities for controlling TCP/IP.
24.iptables / ip6tables β administration tool for IPv4/IPv6 packet filtering and NAT.
25. IPTraf β An IP Network Monitor.
26. iputils β set of small useful utilities for Linux networking.
27. iw β a new nl80211 based CLI configuration utility for wireless devices.
27. iw β a new nl80211 based CLI configuration utility for wireless devices.
28. jwhois (whois) β searches Whois servers for the object on the command line.
29. lsof -i β reveal information about your network sockets.
29. lsof -i β reveal information about your network sockets.
30. mtr β network diagnostic tool.
31. net-tools β utilities include: arp, hostname, ifconfig, netstat, rarp, route, plipconfig, slattach, mii-tool, iptunnel and ipmaddr.
32. hostname - show or set the system's host name.
33. rarp - manipulate the system RARP table.
31. net-tools β utilities include: arp, hostname, ifconfig, netstat, rarp, route, plipconfig, slattach, mii-tool, iptunnel and ipmaddr.
32. hostname - show or set the system's host name.
33. rarp - manipulate the system RARP table.
34. route - show or manipulate the IP routing table.
35. iptunnel - create and manage IP tunnels.
36. slattach - attach a network interface to a serial line.
37. mii-tool - view, manipulate media-independent interface status
35. iptunnel - create and manage IP tunnels.
36. slattach - attach a network interface to a serial line.
37. mii-tool - view, manipulate media-independent interface status
38. netstat - print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.
39. ipmaddr - adds, changes, deletes, and displays multicast
addresses.
40. plipconfig - fine tune PLIP device parameters.
39. ipmaddr - adds, changes, deletes, and displays multicast
addresses.
40. plipconfig - fine tune PLIP device parameters.
41. ncat or nc βcommand-line tool for reading, writing, redirecting, and encrypting data across a network
42. netcat β networking utility for reading/writing network connections.
43. nethogs β a small βnet topβ tool.
44. Netperf β Network bandwidth Testing.
42. netcat β networking utility for reading/writing network connections.
43. nethogs β a small βnet topβ tool.
44. Netperf β Network bandwidth Testing.
45. netplan β Netplan is a utility for easily configuring networking on a linux system.
46. netsniff-ng β Swiss army knife for daily Linux network plumbing.
47, netwatch β monitoring Network Connections.
46. netsniff-ng β Swiss army knife for daily Linux network plumbing.
47, netwatch β monitoring Network Connections.
48. ngrep β grep applied to the network layer. It allow you to specify extended regular expressions to match against data payloads of packets.
49. nload β display network usage.
50. nmap β network discovery and security auditing.
49. nload β display network usage.
50. nmap β network discovery and security auditing.
51. nmcli β a command-line tool for controlling NetworkManager and reporting network status.
52. nmtui β provides a text interface to configure networking by controlling NetworkManager.
52. nmtui β provides a text interface to configure networking by controlling NetworkManager.
53. nslookup β query Internet name servers interactively.
54. slurm β network load monitor.
56. snort β Network Intrusion Detection and Prevention System. 57. smokeping β keeps track of your network latency.
54. slurm β network load monitor.
56. snort β Network Intrusion Detection and Prevention System. 57. smokeping β keeps track of your network latency.
58. socat β establishes two bidirectional byte streams and transfers data between them.
59. speedometer β Measure and display the rate of data across a network.
60. speedtest-cli β test internet bandwidth using speedtest.net
61. ss β utility to investigate sockets.
59. speedometer β Measure and display the rate of data across a network.
60. speedtest-cli β test internet bandwidth using speedtest.net
61. ss β utility to investigate sockets.
62. ssh β secure system administration and file transfers over insecure networks.
63. tcpdump β command-line packet analyzer.
64. tcptrack β Displays information about tcp connections on a network interface.
65. telnet β user interface to the TELNET protocol.
63. tcpdump β command-line packet analyzer.
64. tcptrack β Displays information about tcp connections on a network interface.
65. telnet β user interface to the TELNET protocol.
66. ftp - allows a user to transfer files to and from a remote network site.
67. scp - copies files between hosts on a network.
68. rsync - a fast, versatile, remote (and local) file-copying tool.
69. tracepath β very similar function to traceroute.
67. scp - copies files between hosts on a network.
68. rsync - a fast, versatile, remote (and local) file-copying tool.
69. tracepath β very similar function to traceroute.
70. traceroute β print the route packets trace to network host.
71. vnStat β network traffic monitor.
72. websocat β Connection forwarder from/to web sockets to/from usual sockets, in style of socat.
71. vnStat β network traffic monitor.
72. websocat β Connection forwarder from/to web sockets to/from usual sockets, in style of socat.
73. wget β retrieving files using HTTP, HTTPS, FTP and FTPS.
74. Wireshark β network protocol analyzer.
74. Wireshark β network protocol analyzer.
75. ifdown -
50+ Linux networking commands and their explanation π§΅β
50+ Linux networking commands and their explanation π§΅β
1. arp - manipulate the system ARP cache
2. aria2 β downloading just about everything. Torrents included.
3. arpwatch β Ethernet Activity Monitor.
5. bmon β bandwidth monitor and rate estimator.
6. bwm-ng β live network bandwidth monitor.
2. aria2 β downloading just about everything. Torrents included.
3. arpwatch β Ethernet Activity Monitor.
5. bmon β bandwidth monitor and rate estimator.
6. bwm-ng β live network bandwidth monitor.
7. curl β transferring data from or to a server.
8. darkstat β captures network traffic, usage statistics.
9. dhclient β Dynamic Host Configuration Protocol Client
10. dig β query DNS servers for information.
8. darkstat β captures network traffic, usage statistics.
9. dhclient β Dynamic Host Configuration Protocol Client
10. dig β query DNS servers for information.
11. dstat β replacement for vmstat, iostat, mpstat, netstat and ifstat.
12. ethtool β utility for controlling network drivers and hardware. 13. gated β gateway routing daemon. 14.
14. host β DNS lookup utility.
12. ethtool β utility for controlling network drivers and hardware. 13. gated β gateway routing daemon. 14.
14. host β DNS lookup utility.
15. hping3 β send custom TCP/IP packets and to display target replies like ping program does with ICMP replies.
16. ping - used to check for connectivity between end hosts
16. ping - used to check for connectivity between end hosts
17. fping - like ping, but fping differs from ping in that you can specify any number of targets on the command line, or specify a file containing the lists of targets to ping.
18. ibmonitor β shows bandwidth and total data transferred.
19. ifstat β report network interfaces bandwidth.
20. iftop β display bandwidth usage.
21. ip β show or manipulate routing, network devices, interfaces and tunnels. ip command has more features than ifconfig.
19. ifstat β report network interfaces bandwidth.
20. iftop β display bandwidth usage.
21. ip β show or manipulate routing, network devices, interfaces and tunnels. ip command has more features than ifconfig.
22. iperf3 β network bandwidth measurement tool.
23. iproute2 β collection of utilities for controlling TCP/IP.
24. iptables β take control of network traffic.
25. IPTraf β An IP Network Monitor.
26. iputils β set of small useful utilities for Linux networking.
23. iproute2 β collection of utilities for controlling TCP/IP.
24. iptables β take control of network traffic.
25. IPTraf β An IP Network Monitor.
26. iputils β set of small useful utilities for Linux networking.
27. iw β ashow / manipulate wireless devices and their configuration
28. jwhois (whois) β client for the whois service.
29. lsof -i β reveal information about your network sockets.
28. jwhois (whois) β client for the whois service.
29. lsof -i β reveal information about your network sockets.
30. mtr β network diagnostic tool.
31. net-tools β utilities include: arp, hostname, ifconfig, netstat, rarp, route, plipconfig, slattach, mii-tool, iptunnel and ipmaddr.
32. hostname - show or set the system's host name.
33. rarp - manipulate the system RARP table.
31. net-tools β utilities include: arp, hostname, ifconfig, netstat, rarp, route, plipconfig, slattach, mii-tool, iptunnel and ipmaddr.
32. hostname - show or set the system's host name.
33. rarp - manipulate the system RARP table.
34. route - show or manipulate the IP routing table.
35. iptunnel - create and manage IP tunnels.
36. slattach - attach a network interface to a serial line.
37. mii-tool - view, manipulate media-independent interface status
35. iptunnel - create and manage IP tunnels.
36. slattach - attach a network interface to a serial line.
37. mii-tool - view, manipulate media-independent interface status
38. netstat - print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.
39. ipmaddr - adds, changes, deletes, and displays multicast
addresses.
40. plipconfig - fine tune PLIP device parameters.
39. ipmaddr - adds, changes, deletes, and displays multicast
addresses.
40. plipconfig - fine tune PLIP device parameters.
41. ncat β improved re-implementation of the venerable netcat.
42. netcat β networking utility for reading/writing network connections.
43. nethogs β a small βnet topβ tool.
44. Netperf β Network bandwidth Testing.
42. netcat β networking utility for reading/writing network connections.
43. nethogs β a small βnet topβ tool.
44. Netperf β Network bandwidth Testing.
45. netplan β Netplan is a utility for easily configuring networking on a linux system.
46. netsniff-ng β Swiss army knife for daily Linux network plumbing.
47, netwatch β monitoring Network Connections.
48. ngrep β grep applied to the network layer.
46. netsniff-ng β Swiss army knife for daily Linux network plumbing.
47, netwatch β monitoring Network Connections.
48. ngrep β grep applied to the network layer.
49. nload β display network usage.
50. nmap β an open source tool for network exploration andsecurity auditing.
51. nmcli β a command-line tool for controlling NetworkManager and reporting network status.
50. nmap β an open source tool for network exploration andsecurity auditing.
51. nmcli β a command-line tool for controlling NetworkManager and reporting network status.
52. nmtui β provides a text interface to configure networking by controlling NetworkManager.
53. nslookup β a program to query Internet domain name servers.
54. slurm β network load monitor.
56. snort β Network Intrusion Detection and Prevention System.
53. nslookup β a program to query Internet domain name servers.
54. slurm β network load monitor.
56. snort β Network Intrusion Detection and Prevention System.
57. smokeping β keeps track of your network latency.
58. socat β Multipurpose relay (SOcket CAT), establishes two bidirectional byte streams and transfers data between them.
59. speedometer β Measure and display the rate of data across a network.
58. socat β Multipurpose relay (SOcket CAT), establishes two bidirectional byte streams and transfers data between them.
59. speedometer β Measure and display the rate of data across a network.
60. speedtest-cli β test internet bandwidth using speedtest.net
61. ss β is used to dump socket statistics. It allows showing information similar to netstat. It can display more TCP and state information than other tools.
61. ss β is used to dump socket statistics. It allows showing information similar to netstat. It can display more TCP and state information than other tools.
62. ssh β secure system administration and file transfers over insecure networks.
63. tcpdump β command-line packet analyzer.
64. tcptrack β Displays information about tcp connections on a network interface.
65. telnet β user interface to the TELNET protocol.
63. tcpdump β command-line packet analyzer.
64. tcptrack β Displays information about tcp connections on a network interface.
65. telnet β user interface to the TELNET protocol.
66. ftp - allows a user to transfer files to and from a remote network site.
67. scp - copies files between hosts on a network.
68. rsync - a fast, versatile, remote (and local) file-copying tool.
69. tracepath β very similar function to traceroute.
67. scp - copies files between hosts on a network.
68. rsync - a fast, versatile, remote (and local) file-copying tool.
69. tracepath β very similar function to traceroute.
70. traceroute β print the route packets trace to network host.
71. vnStat β network traffic monitor.
72. websocat β Connection forwarder from/to web sockets to/from usual sockets, in style of socat.
71. vnStat β network traffic monitor.
72. websocat β Connection forwarder from/to web sockets to/from usual sockets, in style of socat.
73. wget β a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.
74. Wireshark β network protocol analyzer.
74. Wireshark β network protocol analyzer.
75. ifup - bring a network interface up.
76. ifdown - take a network interface down.
77. ifquery - parse interface configuration.
76. ifdown - take a network interface down.
77. ifquery - parse interface configuration.
78. UFW (Uncomplicated Firewall)- used to enable/disable system firewall, add/delete/modify/reset packet filtering rules, and much more.
That's it for today's thread!
Thank you for making it this far. Hopefully you will find this thread useful.
Additions are welcomed.
Thank you for making it this far. Hopefully you will find this thread useful.
Additions are welcomed.
If you found this thread valuable: 1. Toss us a follow for more daily threads on Linux, sysadmin and devops β
@linuxopsys @linuxopsys
2. Like and RT the first tweet so other Linux folks can find it too.
@linuxopsys @linuxopsys
2. Like and RT the first tweet so other Linux folks can find it too.
Loading suggestions...