Prateek Jangid

Prateek Jangid

165 Articles Published

Articles by Prateek Jangid

165 articles

dutree – A CLI Tool to Analyze Disk Usage in Coloured Output

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 423 Views

The dutree is an open-source command line tool for Linux that analyzes disk usage and displays output in a colorful, tree-like format. This tool combines the functionality of du (disk usage) and tree (directory structure) commands, written in the Rust programming language. It helps identify which directories and files consume the most disk space, making it easier to manage storage and free up space when needed. Unlike traditional disk usage tools that display plain text output, dutree provides visual hierarchy with color coding, making it easier to quickly identify large files and directories at a glance. Installation ...

Read More

EasyTAG: A Tool for Viewing and Editing Tags in Audio and Video Files

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 992 Views

EasyTAG is an open-source, cross-platform audio and video file tag editor that allows users to view and modify metadata information embedded in media files. Released under the GNU General Public License, this powerful tool supports a wide range of audio and video formats including MP3, MP4, FLAC, Ogg Vorbis, and many others. Originally designed to help organize music collections, EasyTAG has evolved into a comprehensive metadata management solution. It provides an intuitive interface for editing tags such as artist names, album titles, track numbers, genres, and even album artwork. Key Features Supports multiple media formats: MP3, ...

Read More

Preserve Linebreaks When Storing Command Output to a Variable

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 2K+ Views

In Linux, command substitution allows a user to use the output of a command as an argument for other commands. Here you can substitute all commands that can write standard output. Moreover, you can use the command substitution to create a shell script and save the command's output as a variable. Some of the output consists of multiple lines, so the output may not appear in the same pattern when you perform command substitution. When you don't use the proper shell variable, the output shows in a single line, i.e., without preserving the linebreaks. In this tutorial, we will ...

Read More

Elementary OS – A Linux Distro for Windows and macOS Users

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 2K+ Views

Elementary OS is a Ubuntu-based Linux distribution designed specifically to ease the transition for users coming from Windows and macOS. Traditional Linux distributions can be challenging for newcomers due to unfamiliar interfaces, different software installation methods, and command-line requirements. Elementary OS addresses these concerns by providing a polished, user-friendly experience that borrows design elements from macOS while maintaining the power and flexibility of Linux underneath. Key Challenges Linux Poses to New Users Interface Differences − Linux desktop environments often look and behave differently from Windows and macOS, making it difficult to find familiar tools and settings ...

Read More

ELK Stack Tutorial: Get Started with Elasticsearch, Logstash, Kibana, & Beats

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 2K+ Views

The ELK Stack is a powerful collection of open-source tools for searching, analyzing, and visualizing log data in real time. Originally consisting of Elasticsearch, Logstash, and Kibana, the stack has evolved to include Beats, forming what's now called the Elastic Stack. This comprehensive solution enables organizations to centralize logging, monitor systems, and gain insights from massive datasets across healthcare, finance, IT, and other industries. Components of ELK Stack ELK Stack Architecture Beats (Data Shippers) Logstash (Processing) ...

Read More

Enable Debugging Mode in SSH to Troubleshoot Connectivity Issues

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 3K+ Views

SSH debugging mode is a powerful troubleshooting feature that provides detailed information about SSH connection processes. When connecting to remote servers, enabling verbose mode helps diagnose authentication failures, network connectivity issues, and configuration problems by displaying step-by-step connection details. By enabling debugging mode in SSH, you can monitor the complete handshake process, view certificate exchanges, examine authentication attempts, and identify where connections fail. This visibility is essential for system administrators managing multiple remote servers. SSH Verbosity Levels SSH offers three levels of verbosity, each providing increasing amounts of diagnostic information: Level Option Description ...

Read More

File Editing: Appending a Non-Existent Line to a File

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 223 Views

Appending a line to a file means adding new content without erasing existing data. This is a fundamental file editing operation in Linux systems that allows you to modify files by adding text at the end. Various commands like printf, echo, tee, and cat can be used with redirection operators to accomplish this task. The append operation is particularly useful when you need to add log entries, configuration lines, or any text content while preserving the original file structure and data. How File Appending Works The >> redirection operator is the key to appending content to files. ...

Read More

Find Files Not Owned by a Specific User in Linux

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 2K+ Views

A Linux system may consist of various users with different permissions. However, sometimes we need to find files that are not owned by a specific user. The find command provides powerful options to search for files based on ownership, allowing you to locate files owned by other users or files with no owner at all. The find command is a versatile utility for searching files and directories based on various criteria including owner, type, permissions, and attributes. It comes pre-installed on almost every Linux distribution and is essential for system administration tasks. How to Find Files Not Owned ...

Read More

Find the Total Size of All Files in a Directory on Linux

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 6K+ Views

Finding the total size of all files in a directory is a common task for Linux system administrators and users who need to monitor disk usage and manage storage effectively. Linux provides several command-line tools and GUI applications to calculate directory sizes in various formats. Understanding directory sizes helps users identify storage bottlenecks, clean up unnecessary files, and optimize system performance. This guide covers multiple methods to find the total size of directories on Linux systems. Finding the Total Size Using Command-Line Tools The du Command The du (disk usage) command is the most commonly used ...

Read More

How to Insert a New Line Character in Linux Shell Script Output ?

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 1K+ Views

In bash, a newline refers to a line's end and marks the beginning of new text. In Linux/Unix operating systems, the newline character is represented as , which instructs the terminal to move the cursor to the beginning of the next line. Many text editors don't display this character by default. Inserting newline characters serves several important purposes − It helps format output to be readable and well-structured. Separating output into sections makes it easier to locate specific information. Newlines act as line breaks that identify where one line ends and another begins in scripts. They allow you ...

Read More
Showing 1–10 of 165 articles
« Prev 1 2 3 4 5 17 Next »
Advertisements