Menu script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Menu script
Prev   Next
# 1  
Old 06-16-2003
Menu script

It's me again Smilie

I would like to create a script that will display a 'Main Menu' which will link to other scripts in the same directory. Is it possible to have a scrolling menu and pretty colours for this? Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Gnome 3.28.3 menu item dissapears under the system menu

I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome. Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies

2. Shell Programming and Scripting

Script to call a menu script and redirect each option to a text file

Hello, I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file. For example;- In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
Discussion started by: spradha
4 Replies

3. Shell Programming and Scripting

Need help in create menu with 3 sub menu using the case command

hi all i am a newbie to this is there any examples on creating a main menu with 3 sub menu main menu -> option a , b and c a menu -> option 1 ,2 and 3 b menu -> option 1 ,2 c menu -> option 1 ,2 i am getting headache as my code kept getting unexpected EOF ---------- Post... (0 Replies)
Discussion started by: chercm
0 Replies

4. Shell Programming and Scripting

Menu in Menu script issue

Problem: I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
Discussion started by: iDdraig
1 Replies

5. Shell Programming and Scripting

Shell script menu

hi guys, how would you do the following? I have a menu with 5 options in my shell script: 1. Run function 1 against files 2. Run function 2 against files 3. Run function 3 against files 4. Run function 4 against files 5. Run function 5 against files I'd like to be able to run multiple... (10 Replies)
Discussion started by: rich@ardz
10 Replies

6. Shell Programming and Scripting

Menu Script looping

Hi , I have a menu driven script as shown below echo "" echo "*** 1 - option 1 " echo "*** " echo "*** 2 - option 2 " echo "*** 3 - option 3 " ... (3 Replies)
Discussion started by: ultimatix
3 Replies

7. Shell Programming and Scripting

Script menu problem

Hi there, I am new to Unix and at the moment I am trying to solve my assignment that is to create a script for the program to prompt user to type three codes, from user point of view it should be done by typing codes separating them by spaces. Then program displays a menu with these three... (2 Replies)
Discussion started by: Dannel
2 Replies

8. Shell Programming and Scripting

Menu Script

So, I need help writing a Menu script in UNIX. First how can I use letters for the options instead of numbers? Also, is there any templates out on the web I can use? (2 Replies)
Discussion started by: Gboy
2 Replies

9. Shell Programming and Scripting

Need help with script for menu

I'm working on a script for a basic menu with four options. The first option for the menu asks a user to put in anyone's user name and is supposed to display the user's home directory. If a user does not enter a name, then their own home directory should be displayed. The second menu option is... (0 Replies)
Discussion started by: sinjin
0 Replies
Login or Register to Ask a Question
sysman_menu(8)						      System Manager's Manual						    sysman_menu(8)

NAME
sysman_menu - Graphical interface to run system management tasks SYNOPSIS
/usr/sbin/sysman [-ui cui | gui] [-display displayname] [-menu] /usr/sbin/sysman [-accel] <accelerator> [arguments] /usr/sbin/sysman [-menu] <name> [arguments] /usr/sbin/sysman [-menu] -list /usr/sbin/sysman [-menu] -help | -h /usr/sbin/sysman -focus hostname OPTIONS
Specifies the user interface to be invoked. The choices are: Specifies command line interface. Specifies graphical user interface. Speci- fies the display screen on where sysman_menu displays its window. If the display option is not specified, sysman_menu uses the display screen specified by your DISPLAY environment variable. The display option has the format hostname:server.number. The default is :0.0. For more information, see the X(1X) reference page. In a TruCluster environment, some management tasks effect the cluster as a whole and some are local to a specific cluster member. If a task requires focus, the "Choose a host to manage" dialog box will be displayed. To launch the task directly, bypassing this dialog box, you can specify the -focus option. Directly invokes the task with that accelerator. Any arguments are passed on to the task itself. Use sysman -list for a list of the accelerators. If the accelerator is for a branch of the menu and not an executable task, then the menu hierarchy is expanded to display the con- tents of the specified branch. Same as -accel option but the name of the task as displayed in the SysMan Menu is specified. For example, sysman -menu "Manage local users". Any arguments are passed on to the task itself. The name is for a branch of the menu and not an executable task, then the menu hierarchy is expanded to display the contents of the specified branch. Displays a list of all the tasks that can be run from the SysMan Menu and their accelerators. Displays help for the SysMan Menu. DESCRIPTION
SysMan Menu is used by the system administrator to obtain system management data and run selected system management tasks. SysMan Menu pro- vides a menu of system management tasks in a tree type display, with branches of management categories and leaves of actual tasks. Select- ing a leaf or tasks invokes a task, which displays a dialog for performing the task. SysMan Menu and its associated tasks can be run on an X Windows display, a terminal with curses capability, locally on a PC, or from a Web browser. For detailed information in running SysMan Menu from a PC or a Web browser, please use your Web browser and go to: http://your_machine_name:2301/SYSMAN/index.html. Online help is available for the SysMan Menu. To get help, select the Help button. RESTRICTIONS
You must have root privileges to perform most tasks with this application. You can grant root privileges for specific users or groups of users using the Division of Privileges (DOP) application. See the dop(8) reference page and the online help in the sysman dopconfig appli- cation for additional information. You must have the root privileges to execute some of the tasks on the SysMan Menu. EXAMPLES
The following example shows how to launch the Manage local users task from the command line using an accelerator name: sysman -accel users The following example shows how to invoke SysMan Menu in curses mode: sysman -ui cui The following example shows how to get a listing of tasks and their accelerators: sysman -list The following example, displays the status of the NFS related daemons on a remote cluster mem- ber: sysman -focus nfs_config_status SEE ALSO
Commands: sysman_station(8), sysman_cli(8), sysman_clone(8), sysman(8) System Administration http://your_machine_name:2301/SYSMAN/index.html sysman_menu(8)