50+ Linux networking commands and their explanation π§΅β
β arp - see your arp table.
β aria2 β downloading just about everything. Torrents included.
β arpwatch β Ethernet Activity Monitor.
β bmon β bandwidth monitor and rate estimator.
β bwm-ng β live network bandwidth monitor.
β curl β transferring data with URLs.(or try httpie)
β darkstat β captures network traffic, usage statistics.
β dhclient β Dynamic Host Configuration Protocol Client
β dig β query DNS servers for information.
β dstat β replacement for vmstat, iostat, mpstat, netstat and ifstat.
β ethtool β utility for controlling network drivers and hardware.
β gated β gateway routing daemon.
β host β DNS lookup utility.
β hping β TCP/IP packet assembler/analyzer.
β ibmonitor β shows bandwidth and total data transferred.
β ifstat β report network interfaces bandwidth.
β iftop β display bandwidth usage.
β ip β a command with more features than ifconfig.
β iperf3 β network bandwidth measurement tool.
β iproute2 β collection of utilities for controlling TCP/IP.
β iptables β take control of network traffic.
β IPTraf β An IP Network Monitor.
β iputils β set of small useful utilities for Linux networking.
β iw β a new nl80211 based CLI configuration utility β for wireless devices.
β jwhois (whois) β client for the whois service.
β lsof -i β reveal information about your network sockets.
β mtr β network diagnostic tool.
β net-tools β utilities include: arp, hostname, ifconfig, netstat, rarp, route, plipconfig, slattach, mii-tool, iptunnel and ipmaddr.
β ncat β improved re-implementation of the venerable netcat.
β netcat β networking utility for reading/writing network connections.
β nethogs β a small βnet topβ tool.
β Netperf β Network bandwidth Testing.
β netplan β Netplan is a utility for easily configuring
β networking on a linux system.
β netsniff-ng β Swiss army knife for daily Linux network plumbing.
β netwatch β monitoring Network Connections.
β ngrep β grep applied to the network layer.
β nload β display network usage.
β nmap β network discovery and security auditing.
β nmcli β a command-line tool for controlling NetworkManager and reporting network status.
β nmtui β provides a text interface to configure networking by controlling NetworkManager.
β nslookup β query Internet name servers interactively.
β ping β send icmp echo_request to network hosts to test connectivity.
β route β show / manipulate the IP routing table.
β slurm β network load monitor.
β snort β Network Intrusion Detection and Prevention System.
β smokeping β keeps track of your network latency.
β socat β establishes two bidirectional byte streams and transfers data between them.
β speedometer β Measure and display the rate of data across a network.
β speedtest-cli β test internet bandwidth using speedtest.net
β ss β utility to investigate sockets.
β ssh β secure system administration and file transfers over insecure networks.
β tcpdump β command-line packet analyzer.
β tcptrack β Displays information about tcp connections on a network interface.
β telnet β user interface to the TELNET protocol.
β tracepath β very similar function to traceroute.
β traceroute β print the route packets trace to network host.
β vnStat β network traffic monitor.
β websocat β Connection forwarder from/to web sockets to/from usual sockets, in style of socat.
β wget β retrieving files using HTTP, HTTPS, FTP and FTPS.
β Wireless Tools for Linux β includes iwconfig, iwlist, iwspy, iwpriv and ifrename.
β Wireshark β network protocol analyzer.
That's it!
Thank you for making it this far. Hopefully you will find this thread useful.
Additions are welcomed.
Check us out @linuxopsys if you liked this thread!!
We gonna be tweeting more about Linux, networking, security etc.
β’ β’ β’
Missing some Tweet in this thread? You can try to
force a refresh
100+ Linux commands that Linux Sysadmins regularly use, with explanationπ§΅β
1. cut - allows you to cut out sections of a specified file or piped data and print the result to standard output. 2. sort - used to sort files 3. uniq - used to extract uniq occurences 4. tr - utility for translating or deleting characters.
5 grep - searches a file for a pattern of characters and displays all lines that match. 6. awk - a scripting language used for text processing. 7. sed - stream editor used to perform lots of functions on files, like searching, find and replace, insertion, or deletion.
Understanding Linux File Permissions (easy-to-follow thread) π§β
The operating system controls file access in Linux by utilizing file permissions, attributes, and ownership. In Linux, file permissions, attributes, and ownership determine the level of access that system programs and users have to files .
This ensures that only particular directories and files are accessible to authorized users and processes only.
Linux command line tools for parsing and analyzing logs π§β
Linux logs are a valuable resource for system administrators, network administrators, developers, and security professionals.
They record a timeline of events on a Linux system, such as operating system events, application activity, and user activities and actions (for example log-in attempts).
In most Linux systems, when you want to create a new user, you have two options: adduser or useradd.
So, what exactly is the difference between the two? Is one of them superior to the other? Which should you choose? Is it useradd or adduser?
More in this threadπ§β
Useradd is a built-in Linux command that is available on all Linux systems. However, creating new users with this low-level (limited) command is a time-consuming task because it does not automatically create the home directory and user password.
On the other hand, adduser is not a standard command in Linux. It's purely a Perl script that runs in the background and employs the useradd command.
Knowing how to locate files in your filesystem is crucial for a Linux user.
Here are 7 Linux command-line tools to help you quickly and easily locate files on your system: π§β
[1] fd
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.
[2] fzf
fzf is an abbreviation for fuzzy finder. Fzf is a tiny, lightning-fast command-line tool that allows you to quickly search for and open files in Linux.