Articles by Deepak Prasad
Git Workflow Explained: Lifecycle, Diagram, Steps & Examples
Learn Git workflow with lifecycle, diagram, steps, and examples. Understand Git process flow, file lifecycle, and commands like add, commit, and push in a beginner-friendly guide.
Git Discard Changes Explained (Undo, Remove, Reset All Changes with Examples)
Learn how to discard changes in Git with practical examples. This guide covers how to undo local changes, remove unstaged and staged changes, reset commits, and safely discard all changes using git restore, reset, clean, …
Git HEAD Explained (HEAD~ vs HEAD^ vs HEAD@{} with Examples)
Learn what HEAD means in Git with simple examples. Understand HEAD~ vs HEAD^ vs HEAD@{}, how to navigate commit history, and when to use tilde (~), caret (^), and reflog references in real-world Git workflows.
Git Fetch vs Git Pull Explained (Key Differences + When to Use Each)
Understand git fetch vs git pull with simple examples and diagrams. Learn the key differences, when to use git fetch or git pull, how they work internally, and how to avoid merge conflicts using best practices like fetch …
Git Fetch Explained (What Does git fetch Do + Fetch vs Pull with Examples)
Learn what git fetch does with simple examples. Understand git fetch vs pull, how git fetch works, when to use it, and how to safely download remote changes without merging into your local repository.
Git Diff Explained with Examples (Command, Usage, Syntax, Scenarios)
Learn Git diff command with practical examples. This guide explains how git diff works, syntax, options, and real-world scenarios to compare files, commits, branches, and staging area. Understand git diff output, usage, …
Git Detached HEAD Explained (Fix, Recover, Reattach HEAD with Examples)
Learn what Git detached HEAD means and how to fix it with practical examples. This guide explains detached HEAD state, why it happens, how to reattach HEAD, recover commits, switch back to a branch, and safely work with …
Git Delete File or Directory (git rm, git clean) with Examples
Learn how to delete files and directories in Git using git rm, git clean, and other methods with practical examples. This guide explains removing tracked and untracked files, deleting folders, cleaning ignored files, and …
Git Delete Branch (Local & Remote) with Examples and Fixes
Learn how to delete a Git branch locally and remotely with step-by-step examples. This guide explains git delete branch commands, force delete, deleting remote branches in GitHub and GitLab, and fixing common errors like …
How to Create Git Repository (git init Command with Examples)
Learn how to create a Git repository using the git init command with step-by-step examples. This guide explains how to initialize a local repository, understand the .git directory structure, create your first commit, and …
Git Config Global: How to Set Username, Email & Defaults (Step-by-Step)
Learn how to configure Git globally using git config --global. This step-by-step guide covers setting username, email, default editor, and verifying Git configuration for first-time setup on Linux.
PSSH Command in Linux: Parallel SSH Examples, Syntax & Cheat Sheet
Learn how to use PSSH (Parallel SSH) in Linux with 15+ practical command examples. Execute commands on multiple servers, control parallel execution, capture output, transfer files, and run PSSH without password using SSH …
RPM Downgrade in Linux (yum, rpm, Install Specific Version + Rollback)
Learn how to downgrade RPM packages in Linux using yum and rpm. This guide covers installing specific versions, handling dependencies, forcing downgrade, rollback using yum history, and fixing common errors in CentOS, …
Python Regex Tutorial with Examples (re Module Cheat Sheet & Use Cases)
Learn Python regex (regular expressions) with practical examples, cheat sheet, and real-world use cases. Understand re module functions like search, match, findall, sub, and split with beginner-friendly explanations and …
How to Remove a Commit in Git (Undo, Delete or Revert) with Examples
Learn how to remove a commit in Git using reset, revert, or rebase. This guide explains how to undo the last commit, delete a specific commit, remove commits before or after push, rewrite commit history, and safely …
Git Commit --Amend Explained (Edit Last Commit Message, Files & Author)
Learn how to use git commit --amend to modify the last commit in Git. This guide explains how to change commit messages, add forgotten files, update commit author details, modify commit timestamps, undo amend operations, …
How to Rename Git Branch (Local & Remote) with Examples
Learn how to rename Git branches locally and remotely with practical examples. This guide explains how to rename the current branch, rename another branch, rename remote branches, migrate from master to main, and update …
Git Branch Explained with Examples (Create, Switch, Delete Branches)
Learn how Git branches work with practical examples. This guide explains how to create, switch, rename, merge, and delete Git branches locally and remotely. Understand Git branch workflow, HEAD pointer behavior, tracking …
grubby Command in Linux: Syntax, Options & Practical Examples
Learn how to use the grubby command in Linux with syntax, options, and practical examples. This guide explains how to list installed kernels, change the default kernel, add or remove kernel boot arguments, and manage …
grep Exact Match in Linux (Match Whole Word or Exact String)
Learn how to grep exact match in Linux using the grep command. This tutorial explains how to match exact words, exact strings, and entire lines using options like -w and regex patterns. Includes practical grep examples …
Drop Rows in pandas DataFrame (by Index, Condition, NaN & Practical Examples)
Learn how to drop rows in pandas DataFrame using multiple methods including drop by index, drop rows with conditions, remove rows with NaN values, delete duplicate rows, and safely modify DataFrames using inplace …
Linux find -exec Command (Multiple Commands, Examples & Practical Guide)
Learn how to use the Linux find -exec command with practical examples. This guide explains find exec syntax, running multiple commands, combining find exec with grep, sed, pipes, and shell scripts for powerful file …
Convert pandas DataFrame Column to Float (astype, to_numeric & Practical Examples)
Learn how to convert pandas DataFrame columns to float using astype(), to_numeric(), and other practical methods. This tutorial explains how to convert string and object columns to float, handle invalid values, convert …
50+ .gitignore Examples (Ignore Files, Folders & Patterns in Git)
Learn how to use .gitignore with practical examples. This guide covers gitignore syntax, patterns, ignoring files and folders, wildcard matching, excluding files, and real-world .gitignore examples for Node.js, Python, …
HPE iLO 4 & 5 CLI Commands Cheat Sheet (SSH Command Line Guide)
Learn the most useful HPE iLO CLI commands with this practical cheat sheet. This guide explains how to access the iLO command line using SSH or Onboard Administrator (OA) and run common commands to manage users, network …
grep Recursive Search in Linux (Examples, Include/Exclude, Multiple Patterns)
Learn how to perform grep recursive search in Linux with practical examples. This guide covers recursive grep commands, searching directories and subdirectories, including or excluding files, following symbolic links, …
firewalld Cheat Sheet: firewall-cmd Rules, Commands and Examples
Learn the most important firewalld commands using this firewall-cmd cheat sheet. This guide covers common firewalld rules, listing firewall rules, managing zones, adding ports and services, configuring rich rules, and …
Install and Configure OpenLDAP on Rocky Linux 9 (cn=config Guide)
Step-by-step guide to install and configure OpenLDAP on Rocky Linux 9 using the cn=config backend and ldapmodify. Includes schema loading and user/group management.
csplit and split Command Examples in Linux (Cheat Sheet)
Learn how to split files in Linux using csplit and split commands. Covers pattern-based splitting, size-based splitting, prefixes, suffixes, and how to rejoin files.
How to Create Symbolic Links in Linux (Soft & Hard Links Explained)
Learn how to create symbolic links in Linux using the ln command. Understand soft links vs hard links, when to use each, and how to verify, find, and remove symlinks with practical examples.

