ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am writing a script to adduser,group and create a folder called public_html with the permissions required and i am deleting the user.For this i am trying write a script with options selection for adding user,deleting user and exit.The script as follows.when i try to run these two scripts it is working fine.I am trying this script in debian.When i combine with the menu script i am getting syntax error
complete.csh: line 2: echo===============================================================: command not found
Welcome to User Management \!\!
complete.csh: line 6: echo===============================================================: command not found
complete.csh: line 20: syntax error near unexpected token `newline'
complete.csh: line 20: `set num = $ <'
echo " Welcome to User Management \!\! "
echo "Please select an option from the following menu."
echo "1. Add New Account"
echo "2. Remove existing account"
echo "3. Exit Menu"
echo -n "Enter selection >> "
set num = $<