#!/bin/bash ROOT_UID=0 if [ "$UID" -ne "$ROOT_UID" ]; then echo "This script requires root access. Please check with your superiors." exit 1 fi echo "Hello World :)" exit 1 fi