Sponsored Content
Full Discussion: Basic menu system
Top Forums Shell Programming and Scripting Basic menu system Post 302103535 by radoulov on Friday 19th of January 2007 05:42:58 AM
Old 01-19-2007
Quote:
Originally Posted by straight_edge
Could anyone please tell me how to create a basic menu system that enables a user to select and run a script from a list of choices?

I was thinking along the lines of "push 1 to start script 1", "push 2 to start script 2" etc
man select
 

10 More Discussions You Might Find Interesting

1. Solaris

Submit A Basic System Administration Command

Come and create a new thread to post a basic system administration command to share with all .. :) #df -h -- to list down mounted filesystem with the capacity #uname -a -- to provide brief system information (7 Replies)
Discussion started by: osca7578
7 Replies

2. Solaris

basic hardware & system requirements for solaris 10

hi all, i want to setup a solaris10 lab for 50 trainees. kindly let me know all the basic hardware & system requirements for the lab . with regards, Raj (5 Replies)
Discussion started by: rajp_8007
5 Replies

3. Shell Programming and Scripting

Menu System

No longer need help! (3 Replies)
Discussion started by: john123
3 Replies

4. SuSE

Write shell script using menu-driven approach to show various system

QUESTION: Write shell script using menu-driven approach to show various system configuration like 1) Currently logged user and his logname 2) Your current shell 3) Your home directory 4) Your current path setting 5) Your current working directory 6) Show Currently logged number of... (1 Reply)
Discussion started by: bboyjervis
1 Replies

5. UNIX for Dummies Questions & Answers

Basic System Info Template

If your boss ask you to create a template for all UNIX systems. Max 10 questions of the system. What would you put down? The system can be any UNIX flavor. Some examples: 1. system name 2. OS 3. ETC What would be for you the most important and relevants. (2 Replies)
Discussion started by: 300zxmuro
2 Replies

6. Red Hat

Menu system for terminal like Putty for host /ip list

Is there a way to create a menu in Gnome terminal to have a list of hosts with ip's like in Putty on Windows? (2 Replies)
Discussion started by: jlouki01
2 Replies

7. Cybersecurity

basic shellcode - why it runs on my system, if .data is not executable

Greetings, Suppose we have this piece of code, on Linux/i686 (my machine is Slackware Linux 13.1, 32 bit): char sc= /* 24 bytes */ "\x31\xc0" /* xorl %eax,%eax */ "\x50" /* pushl %eax ... (2 Replies)
Discussion started by: aigoia
2 Replies

8. UNIX for Dummies Questions & Answers

System administration tasks performed from a menu driven interface

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)
Discussion started by: femchi
2 Replies

9. Solaris

Basic question regarding root file system copy to another disk

Hello, I am creating a new disk using the following command: dd if=/dev/zero of=/export/home/ramdisk/0 bs=512 count=4096k after creating the disk, i tool a ufsdump of a solaris 10 filesytem (disk size 512MB) ufsdump -cvf /export/home/ufsdump/sol_orig /and then restored the dump files onto... (10 Replies)
Discussion started by: Zam_1234
10 Replies

10. 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
FVWM-THEMES-START(1)					      General Commands Manual					      FVWM-THEMES-START(1)

NAME
fvwm-themes-start - FVWM Themes starter SYNOPSIS
fvwm-themes-start [ --session|-s name ] [ --no-start|-n ] [ --fvwm-exe|-e ] [ -- fvwm-args ] DESCRIPTION
This script runs fvwm with FVWM Themes. It should be run under X. Put a call to this script as the last line of your .Xclients, .xinitrc or .xsession file. OPTIONS
--session name - name of the FVWM Themes session. By default it is "main". This allows to have and run different FVWM Themes configuration. --no-start - do not start fvwm, just do preparation for starting it. This is useful to start FVWM Themes with a session manager, see FAQ. --fvwm-exe - changes the default executable, which is fvwm or whatever fvwm-config --fvwm-exe returns. -- everything after -- is passed to FVWM. See the fvwm(1) man page for the fvwm options. EXAMPLES
Most users just should put: fvwm-themes-start as the last line of their .Xclients, .xinitrc or .xsession file. If you want to use FVWM Themes with a real session manager, say GNOME, you need to use the --no-start option and put: fvwm-themes-start --no-start gnome-session as the last lines of your .Xclients, .xinitrc or .xsession file. The session option allows to use FVWM Themes with different configura- tions. Say, you want to use 3 different configurations under a normal FVWM session when FOO test is false, under gnome-session and under a normal FVWM session when FOO test is true. Then, your .xinitrc/.xsession file may look as follows (where $1 is the "first" argument given by startx, or by kdm or gdm ...): ... case $1 in fvwm) if FOO; Then fvwm-themes-start --session special else fvwm-themes-start fi ;; gnome) fvwm-themes-start --session gnome --no-start gnome-session ;; ... other cases ... esac Note that with most session managers (e.g., GNOME or XSM) it is preferable to give "fvwm -f themes-rc" as the starting window manager com- mand in the session manager. COPYING
The script is distributed by the same terms as fvwm-themes itself. See GNU General Public License for details. BUGS
Report bugs to fvwm-themes-devel@lists.sourceforge.net. Fvwm Utility 15/Aug/2000 FVWM-THEMES-START(1)
All times are GMT -4. The time now is 05:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy