Author

Deepak Prasad

Deepak Prasad

R&D Engineer

at · 1300 articles published

Founder of GoLinuxCloud with more than 15 years of expertise in Linux, Python, Go, Laravel, DevOps, Kubernetes, Git, Shell scripting, OpenShift, AWS, Networking, and Security. With extensive experience, he excels across development, DevOps, networking, and security, delivering robust and efficient solutions for diverse projects.

Areas of expertise

Certifications & credentials

  • Red Hat Certified System Administrator in Red Hat OpenStackID: 180-246-001
  • Certified Kubernetes Application Developer (CKAD)
  • Red Hat Certified Specialist in Ansible Automation
  • Go: Data Structures, Algorithms and Design Patterns With Go
Author profile illustration for Deepak Prasad — technical writer at GoLinuxCloud

Articles by Deepak Prasad

devops

Git Restore Explained with Examples (Files, Staged, Undo Changes)

Learn how to use git restore command with practical examples. Understand how to restore files, undo changes, unstage files using git restore --staged, and compare git restore vs reset vs checkout. Includes syntax, use …

Deepak Prasad8 min read
devops

Git Reset Explained (Soft vs Mixed vs Hard) with Examples

Learn Git reset with practical examples including soft, mixed, and hard reset. Understand the differences, use cases, and how git reset affects the working directory, staging area, and commit history. Fix common errors …

Deepak Prasad9 min read
linux

How to Check CPU Usage in Linux (Top, htop, vmstat & More)

Learn how to check CPU usage in Linux using top, htop, vmstat, mpstat, sar, and ps commands. Monitor CPU utilization, load, and processes in real-time with practical examples.

Deepak Prasad10 min read
system-administration

How to Clear System Storage on Mac Using Terminal (Advanced Guide)

Learn how to clear system storage on Mac using terminal commands. This advanced guide covers disk usage analysis, cache cleanup, log removal, and troubleshooting system data taking excessive space on macOS.

Deepak Prasad4 min read
devops

[SOLVED] Unable to Delete Docker Image (Image Has Dependent Child Images)

Learn how to fix the Docker error "unable to delete image (cannot be forced) - image has dependent child images". This guide explains why the error occurs, how Docker image dependencies work, and step-by-step solutions …

Deepak Prasad4 min read
devops

Docker Build Without Cache (docker build --no-cache Explained)

Learn how to build Docker images without using cache using the docker build --no-cache option. This guide explains when to disable cache, how Docker layer caching works, and provides practical examples for DevOps …

Deepak Prasad4 min read
devops

How to Find and Remove Unused Docker Containers (5 Safe Methods + Best Practices)

Learn how to find and remove unused Docker containers using safe and practical methods. Compare docker rm, docker container prune, filters, and automation techniques with real-world examples for production and …

Deepak Prasad6 min read
devops

Run Multiple Commands in Docker Compose (4 Methods + Examples & Best Practices)

Learn how to run multiple commands in Docker Compose using 4 practical methods including &&, multiline scripts, shell scripts, and Supervisor. Understand execution order, failure handling, and best practices with …

Deepak Prasad5 min read
devops

Docker .dockerignore Explained (Best Practices + Examples to Optimize Builds)

Learn how to use .dockerignore to optimize Docker builds by excluding unnecessary files. Improve build speed, reduce image size, and follow best practices with real-world examples.

Deepak Prasad4 min read
devops

Rename Docker Container (3 Easy Methods with Examples & Best Practices)

Learn how to rename a Docker container using simple commands with practical examples. Understand how docker rename works, when to use it, and best practices for managing container names.

Deepak Prasad3 min read
devops

Docker Logout Explained (How to Logout from Registry + Best Practices)

Learn how to logout from Docker registry using the docker logout command. Understand how credentials are stored, when to logout, and best practices for securing Docker authentication.

Deepak Prasad2 min read
devops

Git Push Explained: Syntax, Examples, Errors & Best Practices

Learn how to use git push with practical examples. Understand git push syntax, push branches, tags, and fixes for common errors like rejected push and force push safely.

Deepak Prasad10 min read
devops

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.

Deepak Prasad5 min read
devops

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, …

Deepak Prasad8 min read
devops

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.

Deepak Prasad5 min read
devops

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 …

Deepak Prasad4 min read
devops

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.

Deepak Prasad8 min read
devops

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, …

Deepak Prasad8 min read
devops

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 …

Deepak Prasad6 min read
devops

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 …

Deepak Prasad6 min read
devops

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 …

Deepak Prasad6 min read
devops

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 …

Deepak Prasad5 min read
devops

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.

Deepak Prasad4 min read
linux

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, …

Deepak Prasad5 min read
programming

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 …

Deepak Prasad7 min read
devops

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 …

Deepak Prasad16 min read
devops

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, …

Deepak Prasad9 min read
devops

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 …

Deepak Prasad10 min read
devops

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 …

Deepak Prasad13 min read
linux

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 …

Deepak Prasad8 min read