By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,696 Members | 1,357 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,696 IT Pros & Developers. It's quick & easy.

bash script

P: 1
hello
I am trying to write a menü script i would like to make small applications like add ,delete users.But i dont know how my codes here

hello
i would like to add users but how?
in man writing useradd -d

#!bin/bash
while
do
echo"----Menu---"
echo "add user"
echo "delete user"
echo "change password"
echo "Exit"

echo "please enter your choice"
read choice
case $choice in
i) echo "Enter your name and surname"
useradd -d
;;
esac
done

may you help me ?
Jan 19 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.