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 bashbash - df to get space usage by volumebash - awk with colored outputOSX Bash - commands I didn't know before (or saw…bash: for - looping over and processing files in…bash combine pdf or other image files into pdfBASH - faster navigationbash - wavecache.wfm removalApple Mail - control mail check interval