Here’s how to set up and use the Linux shell on Windows – using the Windows Subsystem for Linux (WSL). This tutorial is intended for up-to-date versions of Windows 10 from 2020 onwards. I’m not going to cover how to use WSL on older versions of Windows 10 or… Read More »How to Install & Use Bash (Linux Shell) on Windows 10 [Tutorial]
#! – Usually nicknamed shebang, shabang, hashbang, poundbang – we’ll stick with shebang for the duration of this article. It is found at the beginning of countless Linux shell scripts – but what actually is it? Let’s break it down. It Usually Looks Something Like This #!/bin/bash The #! appears at the beginning of the… Read More »What is the ‘#!’ in Linux Shell Scripts?
This simple guide explains how to check how much disk space is available in Ubuntu Linux. The df command tells you how much space is being used on each storage volume attached to your Linux system. To run it, simply execute the following command in your terminal: df… Read More »Checking for Available Disk Space on Ubuntu [Guide]
If you’re frequently interacting with Linux via the Bash shell, you’ll eventually want to customize it a bit – perhaps adding your own shortcuts, or setting up the environment to your liking, or even just adding some decorative personalization. This is what the Bash profile… Read More »The Bash Profile and How to Use It
The find command in the Linux shell allows you to search for files in the filesystem. It can find files by name, user permissions, and size. The find command can also perform actions on the files which are found. Find Command Syntax The syntax for the find command is as… Read More »Find Command in Linux [With Useful Examples]
This guide shows you how to use the awk command in Linux, with plenty of useful everyday examples. AWK is a tool and language for searching and manipulating text available for the Linux Operating System. The awk command and the associated scripting language search files for text defined… Read More »How to Use The awk Command in Linux [With Examples]
Bash and Zsh are two popular Linux shells. This guide explores their pros and cons to help you determine which is best to use. What is a Shell? A shell is the command-line user interface you use to interact with your computer. It provides the text… Read More »Zsh Vs Bash – Which to Use?
Modern computers are incredibly reliable, but things can still go wrong – and the worst thing that can usually go wrong is losing your data – be it important work or your precious photos. Alongside a robust backup system, fsck (File System cheCK) is probably the… Read More »fsck to Repair Linux File System Errors [4 Commmon Examples]
This tutorial explains how to create symlinks (symbolic links), also know as “Soft Links,” in Linux using the ln command. If you’re coming to Linux from a background using the Windows operating system, you’ll be familiar with the concept of shortcuts – files that don’t… Read More »How to Create Linux Symlinks Using the ln Command
The rsync (remote synchronization) command is a file copy tool that can synchronize files across local storage disks as well as over a network. It’s prevalent because it’s very good. It is commonly used for backing up files, keeping file servers up-to-date with each other, and for… Read More »Linux rsync Command, Syntax and Examples [Guide]