This tutorial explains how to pass command-line arguments to your bash scripts. There are many examples included to help get you started. Bash/Shell scripts are a great way to automate your Linux workflow and speed up your workday so you can leave the office early… Read More »Command Line Arguments in Shell/Bash Scripts [Tutorial]
Package managers like apt are one of the big selling points of Linux operating systems and Ubuntu – a vast curated collection of software that can do just about anything, available with a few keypresses. A vetted and (usually) reliable source of great software to meet any task. However, when something… Read More »How To Fix Broken Packages in Ubuntu [Tutorial]
This tutorial covers setting up a full LAMP (Linux, Apache, MySQL, PHP) web stack, including HTTP server, MySQL database, and PHP for app logic. This is commonly called a LAMP server – Linux, Apache, MySQL, PHP. Linux rules the web server world – the operating system powers the vast majority of web… Read More »Setting up a LAMP Stack on Ubuntu 20.04 (And Raspberry Pi)
The touch command in Linux updates the timestamps on a file or creates the file if it doesn’t exist. See some examples and use cases below. It sounds useless, but it’s actually useful. For example, if you want to create an empty file called my_file.txt, you can… Read More »touch Command in Linux and Bash [with Examples]
In Linux, *./ (dot slash) represents the relative path to the current working directory. This article lays out exactly what it means and how to use it. . (dot) and .. (double-dot) . (single dot) and .. (double dot) are special directory names in Linux (And other *nix operating systems).… Read More »What Does “./” (Dot Slash) Mean in Linux?
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]
This is part 2 of the Raspberry Pi and Python powered tank project. In this article, we attempt to display a live video stream and buttons to control the tank in a web UI. In the Last Episode In part 1, I gutted a toy… Read More »Raspberry Pi & Python Powered Tank – Part II
In this project, I will be putting a vintage Apple Macintosh to use with Linux and Raspberry Pi! My latest purchase. The Powermac G4. Stylish. Powerful (For 2001). Completely impractical in 2021. Why did I get it? Because it looks cool, and I really like… Read More »The Macintosh Pi – Vintage Apple Macintosh + Raspberry Pi!
#! – 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?
If you followed our article on how to SSH to your Raspberry Pi so that you can control it over a network, you might be tired of having to run the commands to find out what its current IP address is on your network. Most networks assign… Read More »Setting a Static IP Address on a Raspberry Pi [With Screenshots]