Linux Articles

Page 65 of 134

ELF executable file many zero bytes

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

The ELF (Executable and Linkable Format) is a binary file format used in Unix-based operating systems such as Linux, FreeBSD, and Solaris. ELF files contain executable code, data, and metadata needed to launch programs and shared libraries. Sometimes, ELF executables contain numerous zero bytes, which can impact file size and performance. ELF File Structure An ELF file consists of a header followed by various sections containing executable code, initialized data, uninitialized data, and other information. The header contains critical metadata such as the program entry point and the location and size of each section. ...

Read More

CMake configure fails to find Qt5 on Linux

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

CMake is an open-source cross-platform tool used for building, testing and packaging software. It is widely used in industry for its portability and ability to generate build scripts for various build systems such as make, ninja, etc. Qt5 is a cross-platform application development framework that is widely used in creating GUI applications. In this article, we will discuss a common issue that developers face while configuring a CMake project on Linux: CMake configure fails to find Qt5. Understanding the Issue When we configure a CMake project with Qt5, CMake needs to find the Qt5 package, which includes required ...

Read More

Save Modifications In-Place with AWK

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

The AWK command is a versatile tool used in Unix and Linux environments for text processing and manipulation. One of its key features is the ability to modify files in-place, which is particularly useful when working with large datasets or when you need to update configuration files directly without creating temporary copies. Understanding AWK AWK is a programming language designed for processing text files, with a primary focus on processing rows of data. It operates on a pattern-action paradigm where each line of input is tested against patterns, and corresponding actions are executed when matches are found. ...

Read More

Recursively List All Files in a Directory Including Symlinks

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

When managing files and directories in any operating system, being able to list all files in a directory is an essential task. However, it becomes more complex when you need to recursively traverse subdirectories and include symbolic links (symlinks). This is particularly important for system administrators and developers working with large, complex file systems where understanding the complete directory structure, including linked files, is crucial. What is a Symlink? A symlink (symbolic link or soft link) is a special type of file that acts as a pointer to another file or directory. It provides a way to create ...

Read More

Append Lines to a File in Linux

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

Appending lines to a file is a fundamental Linux operation that allows you to add new content to existing files without overwriting their original contents. This is particularly useful for log files, configuration updates, and data collection tasks where preserving existing information is crucial. Using echo Command The echo command is the simplest method to append text to a file. It displays text and can redirect output using the append redirection operator >>. echo "New line of data" >> filename.txt The >> operator appends the text to the end of the file. If the ...

Read More

What Does a Double-Dash in Shell Commands Mean

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

If you are familiar with command line interface, you have probably encountered a double-dash (--) in some of the commands you use. This article explains what the double-dash means and how it affects the behavior of shell commands. What is a Double-Dash in Shell Commands? A double-dash (--) is a syntax used in shell commands to signify the end of command options and the beginning of positional arguments. In other words, it separates command options from arguments that the command operates on. Many shell commands allow you to specify options or flags that modify the behavior of ...

Read More

What does opt mean in Linux

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

Linux is a popular operating system widely used for its open-source nature and flexibility. The Linux command line interface (CLI) provides powerful tools for system control and manipulation. However, there appears to be some confusion about "opt" as a command in Linux. Let's clarify what this actually refers to and explore the correct concepts. What Does "opt" Actually Mean in Linux? There is no standalone "opt" command in Linux. The term "opt" typically refers to command-line options (also called flags or switches) that modify how commands behave. These options are prefixed with hyphens and provide additional functionality to ...

Read More

Tracking Down Where Disk Space Has Gone on Linux

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

As a Linux user, you might have come across a situation where you ran out of disk space, but you are not sure where all space has gone. It can be frustrating, but fortunately, there are several tools and techniques you can use to track down where disk space has gone on Linux. In this article, we will cover the following methods to help you identify where your disk space has gone and reclaim valuable storage space. Check Overall Disk Usage The first step is to get an overview of your disk usage. The df command shows ...

Read More

Introduction to Iptables

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

Iptables is a Linux-based firewall application that controls incoming and outgoing network traffic. It is a powerful tool that can be used to secure a server, limit access to specific applications or services, and mitigate the risk of malicious attacks. This article will provide an introduction to iptables, its purpose, and its basic usage. What is Iptables? Iptables is a firewall application that works with the Linux kernel's netfilter framework. It controls incoming and outgoing traffic and provides a mechanism to filter, block, or allow traffic based on various criteria, such as port number, IP address, protocol, and ...

Read More

Installing Java on Linux using SSH

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

Java is a popular programming language widely used for developing various types of software applications. Linux is one of the most popular operating systems for software development due to its stability, security, and open-source nature. In this article, we will discuss how to install Java on Linux using SSH. SSH (Secure Shell) is a secure network protocol used for remote login to a server. It allows users to log in to a remote server and perform various operations using command-line tools. This makes it an excellent choice for installing Java on a Linux machine. We will be using the ...

Read More
Showing 641–650 of 1,338 articles
« Prev 1 63 64 65 66 67 134 Next »
Advertisements