something like this script below, it is written for MKS toolkit to be run on windows but it's based on ksh, it's pretty simple, used for uncompress zips and rars, menu based, simple menu though
Hi guys,
I am designing the rdbms in C/C++ on linux platform as my project.
Can any one help me in designing menu driven screen (like the pine ) which will print on screen as follows
1) create table
2) add table
............. etc
with arrow keys for... (2 Replies)
I need to have a script that can do an automated IPL function (how to reboot the box). I think ‘reboot’ would do the trick.
However, how would I go about doing it, for example if the user states from a menu script that I would like to reboot now. The problem is when I do the ‘reboot’ command I... (6 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
1) Write a Menu Driven Shell Script which accepts1 to 5 options and performs the following actions for... (1 Reply)
Hi Guys..
am new to unix scrpiting..I need a Menu need to create using shell scrpting
eg:
Food items
ready
paid
if i press "f" need to add items for a file food items..
if i press "r" it need to move into ready and remove from food items
if i press "p" need to update a filed in... (1 Reply)
i'm confused what this means.
i was asked to design a menu or command line option driven script that reads out of a DB and displays info such as
read_data.pl -u <user> -e <event>
which would print commands run by <user>with the <event> in the db.
any suggestions? i've been using... (2 Replies)
Hi, I was wondering if someone could help me write a shell script in Linux that backsup/restores data to anywhere I choose but it needs to be menu driven?
Thanks, I'm new to Linux/Unix but liking it so far...just hoping to get to grips with the scripts! :) (7 Replies)
I'm a beginner at scripting and have been putting this script together over the past week. It's no where as polish as it could be. Any tips/suggestions on improving this script would be appreciate it. Every week, my team develops WAR files in tomcat on our test environment and moves them to our... (4 Replies)
My employers would like me to selectively run one of several different (already-existing) Korn Shell menu-driven scripts out of the user's .profile file, depending on some yet-to-be-specified user critieria.
I've never done this kind of thing, but I have the existing scripts (among other... (5 Replies)
I need to write a shell script that allows some system-administration tasks to be preformed automatically from a menu-driven interface. Automate the following tasks:
• Copy directory tree
• Delete files or directories
• Output Information
But I don't understand the question. What is a "menu... (2 Replies)
Hi Team ,
I wrote a shell script for adding and subtracting two numbers am getting error could some one please help to fix it
script:
echo "Enter 1 to add:"
echo "Enter 2 to sub:"
echo "Enter 3 for both addition and subtraction :"
read ans;
case "$ans" in
1)... (4 Replies)
Discussion started by: knz
4 Replies
LEARN ABOUT OSF1
sysman_menu
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)