How to use a pipe with Linux find command?

Mukul Latiyan
Updated on 17-Mar-2026 09:01:38

3K+ Views

Linux find command is one of the most widely used commands that allows us to walk a file hierarchy. It is used to locate specific files or directories, and we can combine it with other Linux commands using pipes to perform complex operations. Basic Find Command Let's explore a simple example of the find command to understand it better. find sample.sh sample.sh If the find command locates the file, it prints the filename. If not found, it returns nothing and the terminal process terminates. Understanding Pipes in Linux A ... Read More

Priority Inversion

Ricky Barnes
Updated on 17-Mar-2026 09:01:38

9K+ Views

Priority inversion is an operating system scenario in which a higher priority process is preempted by a lower priority process. This implies the inversion of the priorities of the two processes, causing the system to behave opposite to its intended design. Priority inversion typically occurs when a high-priority task waits for a resource held by a low-priority task, while a medium-priority task preempts the low-priority task, effectively blocking the high-priority task indefinitely. How Priority Inversion Occurs Consider three processes with different priorities: Process Priority Description H High Critical task ... Read More

Exclude Multiple Patterns With Grep on Linux

Pradeep Jhuriya
Updated on 17-Mar-2026 09:01:38

23K+ Views

Grep is a powerful command-line utility on Linux that allows users to search for patterns in text files. It is widely used for tasks such as searching log files for specific strings, filtering configuration files, or extracting information from large datasets. One of the useful features of grep is the ability to exclude multiple patterns from the search results, which helps filter out irrelevant or unwanted lines. Excluding a Single Pattern with Grep The easiest way to exclude a pattern from a grep search is to use the -v option (invert match). This option tells grep to display ... Read More

3 Top Node.js Package Managers for Linux

Satish Kumar
Updated on 17-Mar-2026 09:01:38

795 Views

Node.js has become one of the most popular runtime environments for building scalable applications. To manage the vast ecosystem of modules and packages, developers rely on specialized package managers. This article explores three top Node.js package managers for Linux systems and compares their features, performance characteristics, and use cases. npm (Node Package Manager) npm is the default and most widely adopted package manager for Node.js. It comes pre-installed with Node.js and serves as the official registry for JavaScript packages. With over 2 million packages available, npm has established itself as the cornerstone of the Node.js ecosystem. Key ... Read More

Bashtop – A Resource Monitoring Tool for Linux

Satish Kumar
Updated on 17-Mar-2026 09:01:38

744 Views

If you are a Linux user, you may have experienced some difficulties when it comes to monitoring system resources. Keeping track of CPU usage, memory usage, network activity, and other important system statistics can be a challenging task. Fortunately, there are several open-source tools available that make it easy to monitor system resources. In this article, we will be discussing one such tool − Bashtop. What is Bashtop? Bashtop is a resource monitoring tool for Linux that provides real-time information on system resources. It is a terminal-based application that displays a live graph of system resources usage, making ... Read More

How to Add or Remove PPA in Ubuntu Using GUI and Terminal

Satish Kumar
Updated on 17-Mar-2026 09:01:38

3K+ Views

Ubuntu is one of the most popular Linux-based operating systems used by millions of people worldwide. It is known for its ease of use, reliability, and security features. One of the most important features of Ubuntu is its package management system, which allows users to easily install, update, and remove software packages. Personal Package Archives (PPAs) are third-party repositories that contain software packages not available in the official Ubuntu repositories. They are typically maintained by individuals or teams of developers who create and maintain their own packages. This article explains how to add or remove PPAs in Ubuntu using ... Read More

Difference between Mobile and Desktop Operating System

Pradeep Kumar
Updated on 17-Mar-2026 09:01:38

6K+ Views

An Operating System (OS) is a bridge between software and underlying hardware components. It is the first program loaded by the BIOS when a computer is turned on and manages all system resources including memory, files, input/output operations, and external drivers. Operating systems enable multitasking, provide user interfaces through CLI or GUI, and allow data storage and sharing. There are different types of operating systems designed for various computing platforms. This article explores the key differences between Mobile Operating Systems and Desktop Operating Systems. What is a Mobile Operating System? A Mobile Operating System is lightweight system ... Read More

How to use chmod recursively on Linux?

Mukul Latiyan
Updated on 17-Mar-2026 09:01:38

508 Views

chmod is a Linux command that changes file and directory permissions. When working with complex directory structures, you often need to modify permissions not just for a single file, but for all files and subdirectories within a directory tree. This is where the recursive option (-R) becomes essential. In Linux, file permissions control who can read, write, or execute files and directories. The chmod command allows you to modify these permissions using either symbolic notation (like rwx) or numeric notation (like 755). Basic chmod Syntax chmod [OPTIONS] MODE file... chmod [OPTIONS] NUMERIC_MODE file... chmod [OPTIONS] --reference=RFILE ... Read More

Array Operations in Linux bash

Mukul Latiyan
Updated on 17-Mar-2026 09:01:38

932 Views

Bash scripts are one of the most convenient approaches for automating command line processes. They help us perform multiple operations in a simpler and more understandable manner, allowing us to accomplish tasks similar to other programming languages. Arrays in bash provide a powerful way to store and manipulate collections of data elements. The syntax of bash can be tricky at first, but this tutorial will explain the essential array operations step by step. We'll explore how to create, access, and manipulate arrays using practical examples that you can run directly in your terminal. How to Create and Execute ... Read More

Major issues with Multi-threaded Programs

Kristi Castro
Updated on 17-Mar-2026 09:01:38

8K+ Views

Multithreaded programs allow the execution of multiple parts of a program at the same time. These parts are known as threads and are lightweight processes available within the process. Threads improve application performance using parallelism by sharing resources like data segment, code segment, and files with their peer threads while maintaining their own registers, stack, and program counter. However, multithreaded programming introduces several challenges that developers must carefully address to create robust and reliable applications. Major Issues with Multi-threaded Programs Multi-threading Issues Threading Issues ... Read More

Advertisements