Return to Snippet

Revision: 42643
at March 8, 2011 07:04 by krustyflakes


Initial Code
if [ $UID -ne 0 ]; then
	echo "Superuser privileges are required to run this script."
	echo "e.g. \"sudo $0\""
	exit 1
fi

Initial URL

                                

Initial Description

                                

Initial Title
How to check the superuser privileges

Initial Tags

                                

Initial Language
Bash