/ Published in: Bash

Expand |
Embed | Plain Text
if [ $UID -ne 0 ]; then echo "Superuser privileges are required to run this script." echo "e.g. \"sudo $0\"" exit 1 fi
You need to login to post a comment.
if [ $UID -ne 0 ]; then echo "Superuser privileges are required to run this script." echo "e.g. \"sudo $0\"" exit 1 fi
You need to login to post a comment.