Open Source Articles

Page 22 of 123

Setting Permissions with chown and chmod

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

When working with files and directories in Linux, it's important to understand how to set permissions. Permissions define who can access and modify files and directories on a system. The chown and chmod commands are essential tools for managing ownership and access rights. Understanding Linux File Permissions In Linux, each file and directory has three types of permissions: read (r), write (w), and execute (x). These permissions can be set for three different categories of users − owner of the file or directory, group to which the file or directory belongs, and all other users. ...

Read More

Guide to Stream Redirections in Linux

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

As a Linux user, it's essential to understand the concept of stream redirections. Stream redirections allow us to manipulate and control input and output streams of Linux commands. This means we can control where standard input, output, and error streams are going to and coming from. In this article, we'll guide you through the basics of stream redirections and show you how to use them with examples. Introduction to Stream Redirections In Linux, there are three types of streams − Standard Input (stdin) − This is the input stream that allows us to send data into ...

Read More

Using direct IO with ecryptfs and similar stackable file systems

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 337 Views

Encryption is the process of converting plain text into an unreadable format known as ciphertext. Encrypted text can only be read with the help of a secret key or password. In the modern era, encryption has become a very important tool for maintaining data privacy and security. ecryptfs is a popular encryption mechanism used in Linux-based operating systems. It provides a secure and transparent way to encrypt files, directories, and entire filesystems. It is a stackable filesystem, which means that it can be layered on top of other filesystems to provide encryption without modifying the underlying storage layer. ...

Read More

How to Merge PDF Files in Bash?

Vishesh Kumar
Vishesh Kumar
Updated on 17-Mar-2026 762 Views

Merging PDF files in Linux is a common task for organizing documents, reducing clutter, or preparing files for sharing. Linux provides several powerful command-line utilities specifically designed for this purpose. Each tool offers different features and syntax, making them suitable for various use cases. Available PDF Merging Tools Linux offers multiple utilities for merging PDF files − pdfunite − Part of Poppler Utils, simple and fast pdftk − PDF Toolkit with advanced features qpdf − Powerful PDF transformation utility gs (Ghostscript) − PostScript and PDF processor convert (ImageMagick) − Image manipulation tool with PDF support ...

Read More

Installing and Configuring Net-SNMP for Linux

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

Net-SNMP is an open-source software suite that implements Simple Network Management Protocol (SNMP) for managing network devices. It provides a wide range of tools that enable network administrators to monitor and manage their systems more effectively. In this article, we will explore how to install and configure Net-SNMP on a Linux system. Prerequisites Before we begin, ensure that you have access to a Linux system with root privileges. Additionally, make sure that system has an active internet connection to download necessary software packages. Installing Net-SNMP To install Net-SNMP on a Linux system, you can use package ...

Read More

How to make a USB device multi-touch enabled

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

In recent years, touch technology has become increasingly popular, with smartphones, tablets, and laptops offering the capability to interact with devices by simply tapping or swiping the screen. However, what if you could use touch technology on your computer using a USB device? This is where the concept of multi-touch enabled USB devices comes into play. In this article, we will explain what multi-touch enabled USB devices are, how to make a USB device multi-touch enabled, and provide examples of popular multi-touch USB devices in the market. What are Multi-touch Enabled USB Devices? Multi-touch enabled USB devices are ...

Read More

Monitoring context switches in Linux

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

Context switching is an essential aspect of modern operating systems that enables them to efficiently manage resources. Context switching is the process of switching from one process to another in a multi-tasking environment. The operating system does this by saving the state of the current process and loading the state of the next process. Monitoring context switches in Linux is a crucial task for system administrators, developers, and users who want to optimize performance of their systems. Understanding Context Switching in Linux Context switching occurs when the operating system switches between multiple processes to give the illusion of ...

Read More

Cross compile Static Library from Linux for windows

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

When developing software, there is a high chance that software might be used in various operating systems. Therefore, it is important to build software in a cross-platform manner to ensure compatibility with multiple operating systems. In this article, we will focus on cross-compiling static libraries from Linux for Windows. What is a Static Library? A static library is a file that contains pre-compiled code that can be linked with an executable program to create a single, self-contained executable. The code in a static library is linked directly into the executable, which makes it faster and more efficient than ...

Read More

How to align 3 files based on first column value

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 189 Views

When working with data analysis, it is often necessary to align multiple files based on a shared column. This process involves combining data from different sources using a common identifier, typically found in the first column. File alignment is essential for creating comprehensive datasets that can be analyzed effectively. Why Align Multiple Files? In data analysis, we frequently encounter situations where related information is stored across separate files. Aligning these files based on a common column allows us to: Combine data from multiple sources for comprehensive analysis Detect errors and inconsistencies across datasets Create unified reports ...

Read More

Does mprotect flush instruction cache on ARM Linux

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 306 Views

When working with ARM-based Linux systems, one critical function that programmers often need to use is mprotect. This function is used to protect specific areas of memory from unauthorized access, modification, or execution. However, a common question asked by developers is whether mprotect flushes the instruction cache on ARM Linux. In this article, we will explore the concept of mprotect and its impact on instruction cache coherency on ARM Linux systems, discussing practical examples and scenarios to help understand this behavior. What is mprotect? mprotect is a system call that allows programmers to modify memory protection settings ...

Read More
Showing 211–220 of 1,225 articles
« Prev 1 20 21 22 23 24 123 Next »
Advertisements