How to switch Git branch with unstaged changes
Introduction If you’re working in the world of software development, Git has likely become an integral part of your daily routine. This version control system allows you to…
How to Use ‘for’ Loop in Bash Scripting
Introduction to Bash ‘for’ Loops One of the fundamental concepts in any programming language is the loop. It allows us to execute a block of code multiple times,…
4 Ways to Recover Accidentally Deleted Files in Ubuntu
Introduction Accidentally deleting important files can be a stressful experience, especially on a robust system like Ubuntu where the command line is often involved. In this tutorial, we’ll…
Ubuntu: How to add a new PATH entry
Introduction One of the most fundamental aspects of using any Unix-based operating system is understanding how to manage the PATH environment variable. This variable tells the shell where…
How to Stream Files Between Two Ubuntu Machines
Introduction Streaming files between two Ubuntu machines can be a crucial task for system administrators, developers, and even general users who want to share files without the need…
Ubuntu: How to add a DNS server (5 approaches)
Introduction Domain Name System (DNS) is a critical part of Internet infrastructure, transforming human-readable domain names into IP addresses. In Ubuntu, configuring DNS settings is a common task…
How to change OpenSSH config in Ubuntu
Introduction OpenSSH, or OpenBSD Secure Shell, is a suite of secure networking utilities based on the Secure Shell (SSH) protocol, which provides a secure channel over an unsecured…
Linux Permissions: The Ultimate Cheat Sheet
Understanding Linux permissions is critical for anyone looking to control access to files and directories on their system. This guide aims to provide you with a handy cheat…
Ubuntu: How to Check if a Port is Currently in Use
Introduction Knowing how to check if a port is in use is an essential skill for any system administrator, network engineer, or developer working with Ubuntu Linux. Ports…
How to take a snapshot of a disk in VirtualBox (and restore it later)
Overview Managing virtual machines effectively often involves taking snapshots of the virtual disks to save states at specific time points. This tutorial focuses on Oracle’s VirtualBox, a free…