Although dpkg is the original installer for Debian-derived distributions, today .deb packages are more commonly managed using APT. APT is a front-end manager to the dpkg system, much like YUM is a front-end manager to the RPM system. Until recently, the common software management tools were implemented as a mix of the apt-get and the […]
Archives for November 2022
dpkg Command Examples in Linux
The dpkg command is used to manage packages on Debian-derived distributions. Until recently, the most important of the Debian packaging tools and still the primary package management program. Used to install or uninstall packages or as a frontend to dpkg-deb. It includes many different options, some of which are described in the following table. Option […]
whois Command Examples in Linux
The whois command provides information on Internet DNS registrations for organizations. This can be useful for learning or verifying information regarding ownership of a domain name, contact information for an organization, etc. Some examples include: # whois google.com # whois ubuntu.com Syntax The syntax of the whois command is: # whois [options] {domain name} whois […]
whois: command not found
The whois command provides information on Internet DNS registrations for organizations. This can be useful for learning or verifying information regarding ownership of a domain name, contact information for an organization, etc. Some examples include: # whois google.com # whois ubuntu.com If you encounter the below error while running the whois command: whois: command not […]
arp Command Examples in Linux
As you know, nodes on the network typically have three identities: hostname, IP addresses, and MAC addresses. DNS translates hostnames to IP addresses. The Address Resolution Protocol (ARP) is used to relate IP addresses and MAC addresses. There is also an arp command that administrators can run to discover information about known MAC addresses. Computers […]
mtr Command Examples in Linux
The mtr utility is a combination of ping and traceroute, with additional improvements to enable testing of the quality of a network connection. Ping packets are sent to the destination in large groups, with mtr noting how long responses take to the packets. The mtr command also takes note of lost packets, a symptom of […]
mtr: command not found
The mtr utility is a combination of ping and traceroute, with additional improvements to enable testing of the quality of a network connection. Ping packets are sent to the destination in large groups, with mtr noting how long responses take to the packets. The mtr command also takes note of lost packets, a symptom of […]
iperf Command Examples in Linux
The iperf project is an open source project that provides a benchmarking tool to measure TCP and UDP bandwidth performance. It allows you to tune various parameters. The iperf tool reports bandwidth, delay jitter, and datagram loss. A basic test is as follows: 1. On the server, run: # iperf -s 2. On the client, […]
iperf: command not found
The iperf command tests the maximum throughput an interface will support. The utility must be installed on both endpoint systems. One system is designated as a “server” and the other as a “client.” It is the iperf client that is getting tested. You can use this command to ensure that throughput is meeting your expectations. […]
iftop Command Examples in Linux
The iftop command displays bandwidth usage information for the system, helping to identify whether a particular NIC or protocol is consuming the most bandwidth. The iftop command may not be installed on all Linux distributions. This command can help you identify why a particular link may be slow by showing the traffic on that connection. […]