Linuxopsys Profile picture
Apr 19 27 tweets 4 min read Twitter logo Read on Twitter
Linux networking commands that every sysadmin should know: Image
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.
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.
14. host – a simple utility for performing DNS lookups. It is normally used to convert names
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
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.
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.
26. iputils – set of small useful utilities for Linux networking.

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.
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.
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
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.
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.
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. 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.
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 – 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.
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.
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.
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.
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.
73. wget – retrieving files using HTTP, HTTPS, FTP and FTPS.

74. Wireshark – network protocol analyzer.
75. ifup - bring a network interface up.

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.
If you found this thread valuable:

1. Toss us a follow for more daily threads on Linux, sysadmin and devops →@linuxopsys
2. Like and RT the first tweet so other Linux folks can find it too.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Linuxopsys

Linuxopsys Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @linuxopsys

Apr 17
The useradd command is the main tool for adding new users to a Linux system.

This command allows you to quickly create a new user account and configure the user's $HOME directory structure.

Learn more about the useradd command in this master guide: Image
The useradd command creates a user account by combining system default settings and command-line parameters.

To see the system default values on your Linux distribution, use the useradd command with the -D option:

$ useradd -D Image
Important

The /etc/default/useradd file is used to set the default settings for the useradd command. In addition, additional security settings are defined in the /etc/login.defs file. You can change the default security behavior on your Linux system by editing these files.
Read 17 tweets
Apr 13
Knowing how to locate files in your filesystem is crucial for a developer or sysadmin.

Here are 7 Linux command-line tools to help you quickly and easily search files on your system: Image
1. fdfind

fd is a program that searches your filesystem for entries. It is an easy, quick, and user-friendly alternative to find.
While it does not intend to support all of the find's powerful functionality, it does provide reasonable defaults for the vast majority of use cases:

🔗 buff.ly/43zzIKa

$ fdfind --type f log Image
Read 18 tweets
Apr 11
usermod is a cmd-line tool for modifying a user's login details.

It is used to change the information of an existing user account, such as the username, user ID, home directory location, user groups, password, default login shell, and so on.

Learn more in this master guide Image
The usermod command modifies the user information stored in the following configuration files.

• / etc/passwd - user information
• / etc/shadow - user security information
• / etc/group - user group information
• / etc/gshadow - information related to group security
• / etc/login.defs - default user configuration information.
Read 30 tweets
Apr 7
𝗟𝗶𝗻𝘂𝘅 𝗮𝗯𝘀𝗼𝗹𝘂𝘁𝗲 𝗽𝗮𝘁𝗵 𝗮𝗻𝗱 𝗿𝗲𝗹𝗮𝘁𝗶𝘃𝗲 𝗽𝗮𝘁𝗵 𝗻𝗮𝗺𝗲𝘀 𝗲𝘅𝗽𝗹𝗮𝗶𝗻𝗲𝗱:

In this thread, we will look at the important concepts of absolute path and relative path, which will allow you to navigate the file system without hesitation. Image
𝗔𝗯𝘀𝗼𝗹𝘂𝘁𝗲 𝗣𝗮𝘁𝗵

An absolute path name is one that starts at the root directory and works its way up the tree, branch by branch, until it reaches the desired directory or file.
Assume there is a directory on your system where you save personal files, install programs, and save documents. The path name for the directory is /home/linuxopsys.
Read 17 tweets
Apr 2
If you want to learn Linux bash scripting for FREE, open this:
1. What is Shell in Linux

In this guide, let's learn about the shell which is an important part of the Linux operating system which interprets and passes the commands you provide on your keyboard to the operating system to perform some specific tasks

linuxopsys.com/topics/what-is…
2. Bash variable assignment

A variable is a named storage location in a program's memory where a value can be stored, retrieved, and manipulated. Like any programming language, Variables are an essential component in the Bash scripts.

linuxopsys.com/topics/assign-…
Read 56 tweets
Apr 1
12 books you can read to learn and improve your Linux knowledge:

1. Linux Command Line and Shell Scripting Bible, 10th or 4th or 3rd Edition

2. Linux Basics for Hackers

3. How Linux Works

4. Learn Linux Quickly

5. The Linux Command Line
6. Linux for Beginners: An Introduction to the Linux Operating System and Command Line

7. UNIX and Linux System Administration Handbook

8. The Linux Programming Interface

9. Linux Administration

10. Linux: The Complete Reference

11. Command Line Kung Fu
12. Mastering Linux Shell Scripting: A practical guide to Linux command-line, Bash scripting, and Shell programming, 2nd Edition

Which one have you read so far?
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(