Linux

Why You Should Wrap File Paths

Why You Should Wrap File Paths in Strings in Your Shell Scripts

I stumbled across a thread about terrible programming mistakes and found this: https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/commit/a047be85247755cdbe0acce6f1dafc8beb84f2ac Which contains the line: rm -rf /foo-bar-usr /lib/nvidia-current/xorg/xorg Note – I’ve added foo-bar- to the string so that if you try to run it, it won’t do the thing I’m warning about –even having… Read More »Why You Should Wrap File Paths in Strings in Your Shell Scripts

LAMP Stack on Ubuntu

Setting up a LAMP Stack on Ubuntu 20.04 (And Raspberry Pi)

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)