Linux Articles

Page 111 of 134

10 Netstat Command Examples on Linux

karthikeya Boyini
karthikeya Boyini
Updated on 16-Mar-2026 803 Views

The netstat command is a powerful network utility that displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships on Linux systems. This command is essential for network troubleshooting and monitoring active connections on your system. Display All Connections To show all listening and non-listening sockets, use the -a option: netstat -a This displays both active connections and listening ports: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address ...

Read More

How to install Angry IP Scanner from PPA in Ubuntu/Linux Mint

Sharon Christine
Sharon Christine
Updated on 16-Mar-2026 8K+ Views

Angry IP Scanner is an open-source and cross-platform network scanner designed for fast and simple IP address and port scanning. This lightweight tool allows users to scan IP addresses within any specified range through an intuitive graphical interface. When Angry IP Scanner detects an active IP address, it resolves the MAC address, hostname, and available ports. The collected data can be exported in multiple formats including TXT, CSV, XML, or IP-Port list files. Prerequisites Before installing Angry IP Scanner, ensure your system is running Ubuntu or Linux Mint with administrator privileges. The installation requires adding a third-party PPA ...

Read More

How to use OpenSSH Multiplexer To Speed Up OpenSSH Connections on Linux

karthikeya Boyini
karthikeya Boyini
Updated on 16-Mar-2026 516 Views

This article will help you understand how to multiplex SSH sessions by setting up a master session and using a multiplexer to speed up SSH connections on Linux. What is SSH Multiplexing? SSH Multiplexing allows multiple SSH sessions to share a single TCP/IP connection. Instead of establishing separate connections for each SSH session, subsequent connections reuse the existing master connection, reducing server load and improving connection speed. SSH Multiplexing: Single Connection, Multiple Sessions Client Server Master TCP Connection ...

Read More

Looking Up: Mastering the Nslookup Command in Linux with Examples

sudhir sharma
sudhir sharma
Updated on 16-Mar-2026 560 Views

The nslookup command is a powerful network administration tool used in Linux for querying Domain Name System (DNS) records efficiently. Whether you are a novice or a professional, this command helps you troubleshoot and test DNS by mapping domain names to IP addresses, as well as providing valuable information on various resource records such as MX and NS. In this article, we will explore the basics of nslookup command usage through practical examples along with advanced techniques that enhance its capabilities for network troubleshooting and DNS administration. Basic Usage of Nslookup Command The basic usage of the ...

Read More

How to Watch TCP and UDP Ports in Real-time in Linux?

Pradeep Elance
Pradeep Elance
Updated on 15-Mar-2026 1K+ Views

In computer networks, services running on Linux systems communicate using protocols like TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) along with specific port numbers. Monitoring these ports in real-time helps system administrators track network activity, troubleshoot connectivity issues, and ensure security. List of Open Ports To view all currently open ports that are listening for connections, use the netstat command with specific flags ? $ sudo netstat -tulpn The flags have the following meanings ? t − Enable listing of TCP ports u − Enable listing of UDP ports l ...

Read More

How to View Colored Man Pages in Linux?

Pradeep Elance
Pradeep Elance
Updated on 15-Mar-2026 460 Views

Man pages are important reference documents for Unix/Linux users, but their default appearance is plain text that can be hard to read. This article shows how to add colors and highlighting to man pages to make them more readable and easier to follow. Using most The most command is a pager that can display colored man pages. First, install it using your package manager ? sudo apt install most Once installed, add most as your default pager by adding this line to your .bashrc file ? export PAGER="most" Reload your ...

Read More

How to Run a Command with Time Limit (Timeout) In Linux

Pradeep Elance
Pradeep Elance
Updated on 15-Mar-2026 724 Views

Sometimes a Unix command may run for a very long time without giving the final output or it may keep processing giving partial output from time to time. In such scenarios we need to put a time frame within which either the command must complete or the process should abort. This is achieved by using timeout tools. Using timeout Tool The timeout tool forces a command to abort if it cannot complete within a given time frame. This is a built-in utility available on most Linux systems. Syntax timeout DURATION COMMAND [ARG]... Where ...

Read More

How to Find a Specific String or Word in Files and Directories in Linux

Pradeep Elance
Pradeep Elance
Updated on 15-Mar-2026 3K+ Views

Finding specific strings or words across multiple files in Linux is a common task for developers and system administrators. This article explores several Linux commands to efficiently search for text patterns across files and directories. Using grep The grep command is a powerful regular expression search tool that matches text patterns in files. At its basic level, it searches for a string within specified files ? grep 'string' directory-path/*.* Example grep 'config' hadoop-2.6.5/etc/hadoop/*.* The output shows all files containing the word "config" ? hadoop-2.6.5/etc/hadoop/capacity-scheduler.xml: hadoop-2.6.5/etc/hadoop/core-site.xml: hadoop-2.6.5/etc/hadoop/hadoop-policy.xml: hadoop-2.6.5/etc/hadoop/hdfs-site.xml: ...

Read More

How to decorate your Linux Terminal using Shell?

Pradeep Elance
Pradeep Elance
Updated on 15-Mar-2026 1K+ Views

The Linux terminal appearance can be customized using shell commands and environment variables. While GUI settings provide basic customization, shell commands offer more precise control over colors, fonts, and prompt formatting in Ubuntu-based systems. Most terminal customizations are handled through environment variables that can be modified using shell commands. The primary variable for controlling the terminal prompt is PS1. The PS1 Variable The PS1 variable controls the primary prompt string displayed when the shell is ready to read a command. It uses backslash-escaped special characters to determine what appears at the prompt ? echo $PS1 ...

Read More

How to create an Animated Art on Your Linux Terminal?

Pradeep Elance
Pradeep Elance
Updated on 15-Mar-2026 4K+ Views

Linux terminals can display animated art using ASCII characters and specialized packages. These animations range from simple moving text to complex scenes like trains and castles, created using shell scripting and command-line utilities. Installing and Running the Steam Locomotive The sl package creates a fun train animation that "runs" across your terminal screen. Install it using the package manager and execute with a simple command ? sudo apt-get install sl sl Running the above code displays an animated steam locomotive moving across your terminal ? Creating ASCII Castle Animation You ...

Read More
Showing 1101–1110 of 1,338 articles
« Prev 1 109 110 111 112 113 134 Next »
Advertisements