Open Source Articles

Page 69 of 123

String Manipulation in Bash on Linux

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

Bash is a shell language used in Linux systems that allows users to interact with the system through a command-line interface. Bash offers several string manipulation capabilities that can help users manipulate and process text strings effectively. Basic String Operations Bash provides fundamental operations for manipulating strings. To create a string variable in Bash, you simply assign a value to a variable name − mystring="Hello, world!" To display contents of a string variable, you can use the echo command − echo $mystring The output will be − Hello, ...

Read More

How Do so (Shared Object) Filenames Work in Linux

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

Shared Objects (SO) are dynamic libraries in Linux that contain code and data shared between multiple processes. Similar to DLLs in Windows, SO files enable efficient memory usage and modular programming by allowing multiple programs to share the same library code loaded in memory. What are Shared Objects? Shared objects are files containing executable code and data that can be loaded and linked at runtime. When a program needs functionality from a shared library, the dynamic linker loads the SO file into memory and makes it available to the requesting process. Multiple programs can simultaneously use the same ...

Read More

Using gzip and gunzip in Linux

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

When working in Linux, it's common to encounter large files that need to be compressed for storage or transfer. One popular compression tool available in Linux is gzip, which is used to compress files to save disk space and reduce transfer time. In this article, we'll explore how to use gzip and gunzip in Linux, including how to compress and decompress files, and how to work with compressed archives. What is gzip? Gzip is a compression utility tool used in Linux and other Unix-based systems. It's used to compress and decompress files, reducing their size for storage and ...

Read More

How to find number of RAM Slots in Linux

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

Random Access Memory (RAM) is an essential component of any computer system that stores data the processor uses frequently to speed up program execution. Since the number of RAM slots determines the maximum amount of memory that can be installed, knowing how many slots are available is crucial for planning memory upgrades. This article demonstrates three methods to find the number of RAM slots in Linux systems. Why Know the Number of RAM Slots? Understanding your system's RAM slot configuration is essential for several reasons. The amount of installed RAM determines how many programs can run simultaneously and ...

Read More

Linux ping Command

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

In the world of networking, the ability to check if a networked device is reachable is a basic requirement. One of the tools that can help us achieve this is the ping command. The ping command is a tool that sends a signal to a specified networked device, and then waits for a response. The ping command is available in almost all operating systems, including Linux. What is ping Command in Linux? The ping command in Linux is a utility that helps to test connectivity between two devices on a network. The ping command sends a request to ...

Read More

How to Kill a Background Process in Linux

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

Linux is a powerful and flexible operating system that allows users to run multiple processes simultaneously, which can increase productivity and efficiency. However, sometimes a background process may become unresponsive or cause system performance issues. In such cases, it becomes necessary to kill the process. In this article, we will discuss how to kill a background process in Linux using various methods. Understanding Background Processes In Linux, a process is a running instance of a program or application. A background process is a process that runs in the background, without requiring user input or interaction. These processes typically ...

Read More

Guide to chgrp Command in Linux

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

In Linux, the chgrp command is a useful tool for changing group ownership of files and directories. It is an important command for system administrators who need to manage user permissions and access control on a Linux system. The chgrp command is also useful for collaborative work where users need to share files and directories with specific groups. What is chgrp Command in Linux? The chgrp command is used to change group ownership of files and directories in Linux. It changes the group ownership of a file or directory to a specified group. The command is usually used ...

Read More

Remove Blank Lines From a File in Linux

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

When working with files in Linux, it is common to encounter files that contain blank lines. These blank lines can make it difficult to read the file, especially when dealing with large files. In this article, we will explore different methods to remove blank lines from a file in Linux using various command-line tools. Why Remove Blank Lines from a File? There are several reasons why you may want to remove blank lines from a file. First, it makes the file easier to read, especially when dealing with large files. Second, it can help reduce file size, which ...

Read More

Ifconfig Command in Linux

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

The ifconfig command is an essential network administration tool in Linux systems used to configure network interfaces and display network interface parameters. It allows system administrators to view current network configuration, assign IP addresses, enable/disable interfaces, and modify various network settings from the command line. Syntax The basic syntax of the ifconfig command is − ifconfig [interface] [options] Where interface specifies the network interface name (e.g., eth0, wlan0), and options define the actions to perform. If no interface is specified, ifconfig displays information for all available interfaces. Common Options Interface Control ...

Read More

How to Count Number of Files in Linux

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

Linux provides several powerful methods to count the number of files in a directory. This is an essential skill for system administrators, developers, and Linux users who need to manage large datasets, perform system maintenance, or analyze directory contents. Understanding these techniques helps you efficiently handle file management tasks from the command line. Method 1: Using ls Command with grep and wc The ls command combined with grep and wc provides a reliable way to count regular files while excluding directories and special files. ls -l | grep "^-" | wc -l This command ...

Read More
Showing 681–690 of 1,225 articles
« Prev 1 67 68 69 70 71 123 Next »
Advertisements