How to Git Stash Specific Files?

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

13K+ Views

Git is a popular version control system used by developers to track changes in their codebase. Git Stash is a feature that allows developers to temporarily save changes they have made to their working directory, without committing them to the repository. This feature is useful when developers need to switch to a different branch or work on another feature, but don't want to commit untested changes. When using Git Stash, all changes in the working directory are saved as a "stash" which can be retrieved later. This allows developers to work on multiple features simultaneously without having unfinished or ... Read More

How to limit the number of results returned from grep in Linux?

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

1K+ Views

The grep command in Linux is a powerful text search utility used to filter and search for specific patterns in files. When working with large files or datasets, you may want to limit the number of results returned to make the output more manageable and focused. The grep command searches for lines containing a specified pattern (regular expression) and displays matching results. By default, it returns all matching lines, but Linux provides several options to limit and control the output. Syntax grep [options] pattern [files] Common Grep Options Option Description ... Read More

Microsoft, Device Health for Windows 8.1

karthikeya Boyini
Updated on 17-Mar-2026 09:01:38

290 Views

Microsoft Device Health for Windows 8.1 is a security service designed to enhance online banking and financial transaction safety. This Windows-based service monitors PC security status and provides device health information to certified e-commerce and online banking partners, enabling them to assess device security before allowing sensitive transactions. Device Health acts as a protective layer between users and their financial accounts by evaluating system security and alerting both users and banking websites about potential security risks on the device. How Device Health Works Device Health Security Flow ... Read More

Measure CPU usage for a process on Linux?

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

7K+ Views

On modern multi-core CPUs, monitoring CPU usage of individual cores for specific processes is essential for performance analysis and identifying system bottlenecks. This article demonstrates how to measure CPU core usage for processes on Linux using various command-line tools. Monitoring CPU Usage with top Command The top command is the most common tool for monitoring system resources. By default, it shows aggregate CPU usage, but you can view per-core statistics. To display individual CPU core usage, run top and press 1 to toggle per-core view: $ top Then press 1 to see individual ... Read More

Guide to Generate Random Numbers in Linux

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

13K+ Views

In Linux, you can generate random numbers using several built-in methods and special files. Linux provides both pseudorandom and cryptographically secure random number generation through various commands and system interfaces. Understanding the differences between these methods helps you choose the right approach for your specific use case. $RANDOM in Bash The $RANDOM variable is a built-in Bash variable that generates pseudorandom numbers between 0 and 32767. This is the simplest method for basic random number generation in shell scripts. Basic Usage # Generate random number between 0-32767 echo $RANDOM # Generate random number in ... Read More

Introduction to fzf command in Linux

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

644 Views

fzf is a command-line fuzzy finder that revolutionizes how you search and navigate through files, directories, and data in Linux. Unlike traditional command-line tools that require exact matches, fzf uses intelligent fuzzy matching to help you find what you need quickly, even with partial or approximate input. What is fzf? fzf is a fast, portable command-line fuzzy finder written in Go. It acts as an interactive filter that can process any list of items − files, command history, processes, Git branches, or custom data. The tool uses sophisticated ranking algorithms to present the most relevant results first, making ... Read More

Pipes and Redirection in Linux

Bamdeb Ghosh
Updated on 17-Mar-2026 09:01:38

4K+ Views

Pipes and redirection are fundamental mechanisms in Linux that enable efficient command-line operations. The pipe operator (|) allows the output of one command to serve as input to another command, creating powerful command chains. Redirection operators (>, >>, >> Redirect output (overwrite) Redirect output (append) Redirect input (from file) Redirect errors (STDERR) Output Redirection ls > file.txt echo "text" >> file.txt ... Read More

Amplify – NGINX Monitoring Made Easy

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

344 Views

NGINX Amplify is a comprehensive monitoring and analytics solution designed specifically for NGINX web servers. As NGINX powers many of the world's busiest websites due to its speed, reliability, and flexibility, proper monitoring becomes crucial for maintaining optimal performance. Amplify simplifies server management by providing real-time insights, automated alerts, and detailed analytics through an intuitive dashboard. What is NGINX Amplify? NGINX Amplify is a cloud-based monitoring tool developed by NGINX Inc., the company behind the NGINX web server. It provides comprehensive visibility into NGINX server performance, configuration, and security through real-time metrics collection and analysis. The tool is ... Read More

How to Grep for Multiple Strings, Patterns or Words?

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

3K+ Views

Grep is one of the most powerful and widely used command-line tools in Linux/Unix systems. It stands for "Global Regular Expression Print" and is used for searching text files or output of commands for specific patterns or strings. It can search through an entire directory structure, filter results, and display only relevant data. Grep is versatile for system administration, programming, and data analysis tasks. Basic Grep Commands Grep is a command-line tool used in Unix-based operating systems to search for specific patterns or strings in files or command output. The basic syntax is − grep [options] ... Read More

DCP – Transfer Files Between Linux Hosts Using Peer-to-Peer Network

Mrudgandha Kulkarni
Updated on 17-Mar-2026 09:01:38

1K+ Views

As a Linux user, you may often find yourself needing to transfer files between different hosts on your network. While there are several ways to do this, the Distributed Copy (DCP) protocol is a peer-to-peer method that offers a convenient and efficient solution for large-scale file transfers. In this article, we will explore DCP in detail, including how to install and use it to transfer files between Linux hosts. We will also discuss security considerations when using DCP, and how to use SSH to ensure secure file transfers. What is DCP? DCP is a protocol that enables ... Read More

Advertisements