Bash#

Arrays#

Add text to an array#

array+=("newText")

If#

Check if user is root#

if [ "$EUID" -ne 0 ]
  then
    echo "Please run as root"
    exit
fi