Hey, im fairly new to unix and Im trying to make this unix project that would display a menu and do the following.
MENU
===========================
(p, P) Print users info
(a, A) Add new user
(s, S) Search user
(d, D) Delete user
(x,X) Exit
Enter your choice:
Trying to make this menu and have all those functions work. Im trying to incorporate a loop, case statements, pretty much have a menu that you choose the option and then continue to the sub option.
Please make sure that "unix project" is NOT homework nor classwork by supplying the reasoning behind it, and the frame it fits in, e.g. the company you work for.
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.
Please review the rules, which you agreed to when you registered, if you have not already done so.
More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.
Now, your spec is quite unspecific and vague, so don't expect too detailed hints. Look into your bash 's man page for e.g. the select statement. In conjunction with the case statement and the PS3 parameter you'll get pretty close to what you want.