Find all links for a specific file on Linux

Satish Kumar
Updated on 17-Mar-2026 09:01:38

744 Views

In Linux, finding all links for a specific file is a common administrative task. A link in Unix/Linux systems is an association between two different files or directories. When you create a link, it creates a new name for the original file. There are two types of links: hard links (multiple names for the same inode) and symbolic links (shortcuts that point to another file path). Setup Example Let's start with a practical example. We have a file1.txt document and several symbolic links pointing to it from different locations: [tpoint@server1:~/test]$ ls -lrth total 12K -rw-r--r-- 1 tpoint ... Read More

Execute Bash Script Directly From a URL

Satish Kumar
Updated on 17-Mar-2026 09:01:38

8K+ Views

Bash scripting is a powerful way of automating repetitive tasks and executing complex commands with a single script. With increasing popularity of web-based technologies, it's now possible to execute Bash scripts directly from a URL. This opens up new possibilities for web developers and system administrators who need remote script execution capabilities. What is Bash Scripting? Bash scripting is a type of scripting language commonly used on Unix-based systems such as Linux and macOS. Bash stands for Bourne-Again SHell, and it's a command-line interface that allows users to interact with the operating system by executing commands. Bash scripts ... Read More

20 Useful Terminal Emulators for Linux

Satish Kumar
Updated on 17-Mar-2026 09:01:38

1K+ Views

Terminal emulators are an essential part of the Linux ecosystem, providing users with a way to interact with the command line and execute commands. While the command line may seem daunting to some users, the benefits of using a terminal emulator are immense. Terminal emulators provide advanced users with complete control over their Linux operating system, and can help novice users learn Linux command line. In this article, we will explore 20 of the most useful terminal emulators for Linux, highlighting their key features and benefits. Desktop Environment Default Terminals GNOME Terminal GNOME Terminal is the default ... Read More

How to Disable NetworkManager in CentOS/RHEL 8?

Satish Kumar
Updated on 17-Mar-2026 09:01:38

4K+ Views

NetworkManager is a daemon that manages network connections on Red Hat Enterprise Linux (RHEL) and CentOS systems. It handles both wired and wireless connections, including Ethernet, WiFi, mobile broadband, VPNs, and other network interfaces. The daemon provides a graphical user interface for managing network settings on desktop environments such as GNOME or KDE. NetworkManager is designed to automatically detect and configure connections based on the available network devices and their properties. It uses mechanisms like DHCP (Dynamic Host Configuration Protocol), PPP (Point-to-Point Protocol), and static IP addresses to connect to networks dynamically. Additionally, it supports advanced features like bonding ... Read More

How to copy a file, group of files, or directory in Linux?

Shilpa S
Updated on 17-Mar-2026 09:01:38

2K+ Views

The cp command is used to copy files or directories in Linux/Unix systems. It allows you to duplicate files from a source location to a destination directory. By default, cp works with files only − to copy directories, you must use the -R (recursive) option. Syntax The general syntax of the cp command is as follows − cp [OPTION]... [-T] SOURCE DESTINATION cp [OPTION]... SOURCE... DIRECTORY cp [OPTION]... -t DIRECTORY SOURCE... Common Options Option Description -R, -r, --recursive Copy directories recursively -i, --interactive Prompt ... Read More

Monitors vs Semaphores

David Meador
Updated on 17-Mar-2026 09:01:38

4K+ Views

Monitors and semaphores are synchronization mechanisms used to control process access to shared resources through mutual exclusion. While both achieve process synchronization, they differ significantly in their implementation, usage complexity, and error handling capabilities. Monitors Monitors are high-level synchronization constructs designed to overcome timing errors and programming complexity associated with semaphores. They are abstract data types that encapsulate shared data variables and procedures within a single unit. In a monitor, shared data variables cannot be accessed directly by processes. Instead, processes must use the monitor's procedures to interact with the shared data. Only one process can be ... Read More

Create bash alias that accepts parameters

Satish Kumar
Updated on 17-Mar-2026 09:01:38

973 Views

When working with Bash scripts or Unix/Linux command line tools, we often write the same command lines over and over again. Often, these command lines are long and must be repeated multiple times. For instance, when logging into a remote server daily, copying a local folder to the remote server, or searching for hidden files or directories within a directory. You can create aliases using the alias command. In this guide, I will show you how to create an alias that accepts parameters on Linux. This is useful if you want to run a single command repeatedly without having ... Read More

Send stdout to Multiple Commands

Satish Kumar
Updated on 17-Mar-2026 09:01:38

828 Views

Sending stdout to multiple commands is a fundamental technique in Unix-like operating systems that allows you to process the output of one command through multiple operations simultaneously. This approach is essential for creating efficient data processing pipelines and automating complex workflows. Standard output (stdout) is the default stream where programs write their output data. When you run a command in the terminal, the results typically appear on your screen through stdout. Understanding how to redirect and duplicate this output enables powerful command-line operations. Methods for Sending stdout to Multiple Commands Using Pipes Pipes (|) redirect the ... Read More

Best Music Players for Ubuntu & Linux Mint

Pradeep Jhuriya
Updated on 17-Mar-2026 09:01:38

1K+ Views

Linux and Ubuntu are popular operating systems used by millions of people worldwide. They are widely favored by music enthusiasts because of their open-source nature and extensive customization options. If you are using Ubuntu or Linux Mint for your music needs, choosing the right music player can significantly enhance your listening experience. In this article, we will explore the best music players for Ubuntu and Linux Mint, highlighting their features, benefits, and drawbacks. Criteria for Selecting Music Players When selecting a music player for Ubuntu and Linux Mint, it is important to consider various factors to ensure that ... Read More

How to Find Out Postfix Mail Server Version in Linux?

Satish Kumar
Updated on 17-Mar-2026 09:01:38

2K+ Views

The Postfix mail server is a fast, secure, and reliable open-source mail transfer agent (MTA) for Linux-based systems. It was designed with security in mind and provides features that make it an excellent choice for businesses requiring high-performance email services. Knowing your Postfix version is crucial for security updates, compatibility checks, and troubleshooting. Why Check Postfix Version? Knowing your Postfix version helps you determine if your installation is up-to-date with security patches and whether there are known vulnerabilities that need addressing. Different versions may have different configuration options or syntax changes, which could affect system operations when installing ... Read More

Advertisements