Search Results

Search: Posts Made By: Scrutinizer
6,758
Posted By Scrutinizer
In post #1 you had two pieces of code, the first...
In post #1 you had two pieces of code, the first for creating users, the second for a menu. Your question was how you could integrate the two. My suggestion was to put the part for creating users...
6,758
Posted By Scrutinizer
Your return key appears to malfunction ;) ...
Your return key appears to malfunction ;)

You should first define you own add_user function:
add_user() {
....
}

And then you can call that inside your case statement:
"Create User...
6,758
Posted By Scrutinizer
You could just add the code there, but a more...
You could just add the code there, but a more structured way would be if you turn you add_user part in to a function and call that in the case statement:

add_user() {
....
}

and later on...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 09:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy