Linux Articles

Page 62 of 134

Difference between CSH and BASH

Md. Sajid
Md. Sajid
Updated on 17-Mar-2026 7K+ Views

CSH and BASH are two prominent command-line shells in Unix and Linux systems. A shell acts as an interface between users and the operating system, allowing users to execute commands and run programs. Both shells provide interactive command-line environments and scripting capabilities, but they differ significantly in syntax, features, and usage patterns. What is CSH? CSH (C Shell) was developed by Bill Joy at the University of California, Berkeley, in the late 1970s. It was designed to provide a more user-friendly alternative to the original Bourne shell, with syntax inspired by the C programming language. Key Features ...

Read More

Configure Postfix to Use Gmail SMTP on Ubuntu

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

Postfix is an open-source mail transfer agent (MTA) that allows users to send and receive email on Linux systems. It is an efficient and easy-to-use solution that can be configured to work with various email providers, including Gmail. In this article, we will show you the steps to configure Postfix using Gmail SMTP on Ubuntu. This process involves setting up your Gmail account to allow apps to access it, installing and configuring Postfix, and testing the setup to ensure it works correctly. Why Use Gmail SMTP with Postfix? Using Gmail SMTP with Postfix offers several benefits: ...

Read More

Concatenating Files in Linux

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

Linux is an operating system that has become popular for its open-source nature, flexibility, and reliability. Among its many features, Linux provides powerful tools for managing files and data, including the ability to concatenate files. Concatenation is the process of joining two or more files together, creating a single file that contains the contents of all original files. In this article, we will explore different methods of concatenating files in Linux with practical examples and use cases. Concatenating Files Using cat Command The cat command is the most common tool for concatenating text files in Linux. It ...

Read More

How to Find Broken Symlinks in Linux

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

Symbolic links (symlinks) are shortcuts in Linux that point to files or directories, allowing users to access them without specifying full paths. However, when the target file or directory is deleted or moved, the symlink becomes broken. This article explains how to identify and fix broken symlinks in Linux systems. What is a Broken Symlink? A broken symlink is a symbolic link that points to a non-existent file or directory. When you try to access it, the system returns a "file not found" error. Broken symlinks occur when: The target file or directory is deleted The ...

Read More

Splitting Files in Unix Systems

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

Unix systems are widely recognized for their efficiency and versatility in handling file operations. One of the most common operations is splitting large files into smaller, more manageable chunks. The split command in Unix is specifically designed to achieve this task, allowing users to divide files based on size, line count, or specific delimiters. Split Command Syntax The basic syntax of the split command is as follows: split [OPTION]... [INPUT [PREFIX]] Where [INPUT] specifies the file to be split, [PREFIX] defines the naming pattern for output files (default is 'x'), and [OPTION] provides various ...

Read More

Common Linux Text Search

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

Linux provides powerful command-line tools for searching text within files and directories. Text search is an essential skill for system administrators, developers, and users who need to locate specific content across their filesystem. This article explores the most commonly used Linux text search tools and their practical applications. grep − Pattern Matching The grep command is the most fundamental text search tool in Linux. It searches for patterns within files and displays matching lines. Basic Syntax grep [options] pattern [file...] Common Examples Search for "error" in a log file: grep ...

Read More

Multiple simultaneous downloads using Wget

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

When it comes to downloading files from the internet, there are numerous ways to go about it. One such method is using the command-line tool Wget, which is an extremely versatile and powerful utility for downloading files. Wget is a popular tool among developers, system administrators, and even casual users due to its simplicity and speed. In this article, we will take a closer look at Wget's ability to download multiple files simultaneously, and how this feature can improve your download speeds and efficiency. What is Wget? Wget is a command-line utility used for retrieving files from ...

Read More

Compiling native GCC for arm using cross-compiler

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

Cross-compiling is the process of compiling a program for a different system than the one it is being compiled on. It is typically done to target embedded systems or compile for a different architecture than the host system. The process of cross-compiling for ARM is essential when targeting embedded systems commonly found in Internet of Things (IoT) devices. In this article, we will discuss how to compile native GCC for ARM using a cross-compiler. What is ARM? ARM is a processor architecture widely used in embedded systems. It is a type of Reduced Instruction Set Computer (RISC) architecture ...

Read More

How do you determine which individual pages are resident on Linux

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

As a Linux user, it is essential to understand how to determine which individual pages are resident in memory on your system. This knowledge helps optimize system performance and diagnose memory-related issues. Resident pages are portions of memory currently present in physical RAM rather than swapped to disk. Understanding Resident Pages When a process accesses files or programs, the kernel copies data into memory pages to speed up future access. Resident pages are pages currently present in physical memory, while non-resident pages have been swapped to disk storage. Efficient resident page management is crucial because accessing data from ...

Read More

General DaemonServer Design - Best Practices (CC++, Linux)

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

Daemon servers are background processes that run continuously on Linux systems, providing essential services like networking, file management, and system monitoring. Unlike regular programs, daemons operate independently of user sessions and terminals, making them crucial for system stability and functionality. This article explores the fundamental design principles and best practices for creating robust daemon servers using C/C++ on Linux systems. These practices ensure your daemon is efficient, secure, and maintainable. Essential Daemon Design Principles Process Daemonization A proper daemon must detach itself from the controlling terminal and parent process. The standard daemonization process involves forking, creating ...

Read More
Showing 611–620 of 1,338 articles
« Prev 1 60 61 62 63 64 134 Next »
Advertisements