Skip to content

Instantly share code, notes, and snippets.

View daveschafer's full-sized avatar
🚴‍♀️
Fast Forward

Dave Schafer daveschafer

🚴‍♀️
Fast Forward
View GitHub Profile
#!/bin/bash
# Check if sudo is used
if [ "$(id -u)" != 0 ]; then
echo 'Sorry, you need to run this script with sudo'
exit 1
fi
# Header
clear