DS bash – check that script is being executed by root ~~ August 24, 2019 12345if [ $EUID -ne 0 ] then /bin/echo $'\nThis script must be run as the root user!\n' exit fi Related Posts:sqlite3 access via bashApple Mail - control mail check interval.DS_Store - BASH shell - Linux/OSX = Find & Remove FilesBASH - faster navigationbash NULL DEVICE - redirecting output & errorsThunderbird - control mail check intervalBASH snippet - clean up stereo pairs and sort by…bash - awk with colored outputOSX Bash - commands I didn't know before (or saw…