Operating System Articles

Page 32 of 171

What are Named Pipes or FIFO in Linux/Unix systems?

Arnab Chakraborty
Arnab Chakraborty
Updated on 17-Mar-2026 3K+ Views

Named Pipes (also called FIFO - First-In-First-Out) are a mechanism for inter-process communication (IPC) in Linux/Unix systems that allows unrelated processes to communicate with each other. Unlike anonymous pipes, which work only between parent and child processes, named pipes create a special file on the filesystem that can be accessed by any process with appropriate permissions. Named pipes support bidirectional communication, meaning data can flow in both directions through a single pipe, making them more versatile than regular pipes for complex communication scenarios. Creating Named Pipes There are two primary ways to create named pipes in Linux/Unix ...

Read More

What is marshalling in RPC?

Arnab Chakraborty
Arnab Chakraborty
Updated on 17-Mar-2026 3K+ Views

Marshalling in RPC (Remote Procedure Call) is the process of converting procedure arguments and return values into a format suitable for network transmission. When a client makes a remote procedure call, the parameters must be packaged (marshalled) into a message, sent across the network, and then unpacked (unmarshalled) on the server side. How RPC Works Remote Procedure Call (RPC) is a client-server mechanism that enables an application on one machine to make a procedure call to code on another machine. The client calls a local procedure—a stub routine—that packs its arguments into a message and sends them across ...

Read More

Learn Modern Service Management System (Systemd) on Linux

karthikeya Boyini
karthikeya Boyini
Updated on 17-Mar-2026 780 Views

systemd is a modern system and service manager for Linux operating systems. Running as the first process on boot (PID 1), it acts as an init system that initializes and maintains userspace services, replacing traditional SysV init scripts with a more efficient service management framework. systemd provides comprehensive system initialization, service management, and system state control through its suite of tools, primarily systemctl for service control and systemd-analyze for performance analysis. Basic systemd Information To get help information about systemd, use the following command − $ systemd -h Starts up and maintains ...

Read More

How to Setup Rsyslog Remote Logging on Linux

Samual Sam
Samual Sam
Updated on 17-Mar-2026 2K+ Views

Every Linux distribution comes with logging systems to record system activities, which helps during system troubleshooting. Rsyslog is an open-source, high-performance logging system available for major Linux distributions including Debian and Red Hat based systems. Compared to the traditional SYSLOG protocol, it offers additional features such as content-based filtering, TCP transport, and extensive configuration options. This article describes how to setup Rsyslog Remote Logging in simple steps. Installation If Rsyslog is not installed on your Linux system, install it using the following command − $ sudo apt-get install rsyslog rsyslog-doc The output should be ...

Read More

How to Get the Path of a Linux Command?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 5K+ Views

A Linux command that you run from a terminal window can be built-in (a part of the system), a function (an application that runs when you enter certain commands), an alias (another name for a command), or an external executable (a program that you download). You can use the which, command, whereis, whatis, and type tools to determine what each one is and where they are located. We will look at the which, command, type, and whereis commands as they are usually found in most Linux-based operating systems. PATH Environment Variable Before we get into the details ...

Read More

How to download a Tarball from GitHub on Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 3K+ Views

GitHub is an online source code repository and hosting service for open-source projects that provides version control, collaboration, and project management features. Downloading tarballs (compressed archive files) from GitHub allows you to get the source code without cloning the entire repository history. There are several methods to download a tarball from GitHub on Linux systems. The most common approaches use command-line tools like wget and curl to fetch repository archives directly from GitHub's servers. Using wget Command wget is a dedicated non-interactive network download tool that supports HTTP and HTTPS protocols. It's perfect for downloading repository archives ...

Read More

How to replace string in a large one line, text file in Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

Some software reads an entire input file into memory before processing it. If the input file contains a very long single-line string, the software may crash due to insufficient memory to hold the entire string. We'll examine methods to replace strings in very large one-line files in Linux. Since some applications cannot handle extremely large single-line files efficiently, we need specialized approaches that don't load the entire file into memory at once. Target File Modern JavaScript frameworks often compress all code into a single line. Consider a one-line JavaScript file called original.js with an error — it ...

Read More

Difference between virtualization and containerization

Manisha Shejwal
Manisha Shejwal
Updated on 17-Mar-2026 19K+ Views

Data centers consist of a large number of enterprise servers. Not all servers are active at the same time. In case traffic is directed mostly to a particular set of servers, those servers get busy. The other servers are less loaded, or they even turn totally inactive, thereby wasting power, maintenance costs, and other allied resources. With the changing times, businesses started looking for solutions to reduce overhead costs, enhance scalability, and standardize application deployment processes. They started considering the following two approaches to reduce costs: Virtualization − Virtualization is the technology that can simulate your physical ...

Read More

Docker host network vs bridge network

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 5K+ Views

Docker provides two primary single-host networking modes: host and bridge networks. Single-host networks operate locally on each individual Docker host, providing different levels of network isolation and connectivity options. In host networking, Docker containers share the host's network stack directly, eliminating network isolation between container and host. With bridge networking, containers run in an isolated network namespace and require explicit port mapping to communicate with external systems. Host Network Mode Host networking allows containers to use the host's network interface directly. This mode provides maximum performance but sacrifices network isolation. Creating a Container with Host Network ...

Read More

Difference Between Microkernel and Monolithic Kernel

AmitDiwan
AmitDiwan
Updated on 17-Mar-2026 2K+ Views

In this post, we will understand the difference between microkernel and monolithic kernel − two fundamental approaches to operating system kernel design that differ in how they organize system services and manage resources. Kernel Architecture Comparison Microkernel User Space File System Device Driver Network ...

Read More
Showing 311–320 of 1,707 articles
« Prev 1 30 31 32 33 34 171 Next »
Advertisements