Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] menu script


>Hi,
> 
>I need to do up a small shell script to give users a few choices when
>they log in to the Linux server. I could spend all day writing one myself
>(very very rusty on scripting) or why reinvent the wheel. Anyone out
>there got a script they can send me that I can adapt??

Have a look at the dialog program, it allows you to create very nice
looking text mode UI dialogs. The installer on many distros use this.

E.g.

	dialog --inputbox 'Enter some text' 20 40