Hi, im trying to create my first script for an Administrator to install users in debain(Ive noticed differences between debian and Opensuse in scripting/commands)and I'm haing having problems with the if statment. so far this is what I have written:
echo "Would you like to create a new user?(yes/no)"
if [ "$input" -ge "$continue" ]
echo "Please enter new user name"
useradd -m $UN
echo "Please enter a password for $UN"
echo "User '$UN' has been created"
echo "Opperation cancelled"
but when i run the script I recieve this out put:
Would you like to create a new user?(yes/no)
and then nothign after that, not even the treminal chevrons...
so basically im a little lost on what to do at the moment and help would be much apprecieated. also if there are any good online guides could somewone point them out please.
Thanks for reading.