09-13-2006
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all
is menu driven by SELECT can be a dynamic ?
My requirement is that i want SELECT to be created on run time not predefine . The select should be created as per the no of
words in a file
thanks in advance
rawat (2 Replies)
Discussion started by: rawatds
2 Replies
2. Shell Programming and Scripting
Is there any way to implement a drop down menu selection in bash?
This is on CDLinux which is a very minimal live CD and I am using it to install an image onto a hard drive. Part of that process is the timezone selection. There are just too many timezones to attempt to use the "select" command.... (1 Reply)
Discussion started by: simonb
1 Replies
3. Shell Programming and Scripting
Hello everyone.
I am using the select command to build a menu, here is my question:
Is it possible to generate a menu which contains several sections and have a separator between the sections without having a selection number generated in front of the separator?
This is a sample of what I would... (1 Reply)
Discussion started by: gio001
1 Replies
4. Shell Programming and Scripting
Hi All,
I am trying to use the select command & the menu.
below mention is my script
#!/bin/bash
2
3 PS3="Is today your birthday? " #PS3 system variable
4
5 echo "\n"
6
7
8 select menu_selection in YES NO QUIT
9 do
10
11 ... (1 Reply)
Discussion started by: milindb
1 Replies
5. Shell Programming and Scripting
Hi,
I am using a select in ksh for a script
#!/bin/ksh
FIRSTLIST='one two three four quit'
PS3='Please select a number: '
select i in $FIRSTLIST ;
do
case $i in
one) print 'this is one' ;;
two) print 'this is 2' ;;
three) print 'this is 3' ;;
four) print... (7 Replies)
Discussion started by: omerzzz
7 Replies
6. Shell Programming and Scripting
I am creating a Select menu with a few options and I would like to create a "better" looking interface than just this:
1) Option 1
2) Option 2
3) Option 3
Instead, I would like something like this:
***********
* Cool Script *
* 1) Option 1 *
* 2) Option 2 *
* 3) Option 3 *... (2 Replies)
Discussion started by: chipblah84
2 Replies
7. Shell Programming and Scripting
Hi All,
I need to develop a bash script list “list of files” and able to select if any and set as globe variable in script and use for other function.
I would like to see in menu format.
Example out put
Below are the listed files for database clone
1. Sys.txt
2. abc.txt
3. Ddd.txt... (1 Reply)
Discussion started by: ashanabey
1 Replies
8. Shell Programming and Scripting
Oracle Linux 5.6 64-bit
Given the below snippet
ORACLE_SID=''
PS3='Select target (test) database being refreshed: '
#
while ]; do
select ORACLE_SID in `egrep -i '^FS|^HR' /etc/oratab |\
awk -F\: '{print $1}'|sort` ; do
if ]; then
echo
echo "Please enter a... (19 Replies)
Discussion started by: edstevens
19 Replies
9. Shell Programming and Scripting
A lot of my scripting makes use of the 'select' command to create menu driven input. A typical example of how I use it is as:
somevar=''
PS3='Select one: '
while ]; do
select somevar in $(sqlplus -s $dbuser/$dbpw@mydb <<EOF
set echo off feedback off verify off... (7 Replies)
Discussion started by: edstevens
7 Replies
10. Shell Programming and Scripting
hi i am new to bash scripting ..
i created a bunch of folders but only want the folder names with file1. so i go in and make an array to grab the folders the put in a file then i strip the directories so i just have the folder names i need then i would like to make the menu with a selection... (3 Replies)
Discussion started by: lamby22
3 Replies
LEARN ABOUT CENTOS
backup_quit
BACKUP_QUIT(8) AFS Command Reference BACKUP_QUIT(8)
NAME
backup_quit - Leaves interactive mode
SYNOPSIS
quit [-help]
q [-h]
DESCRIPTION
The backup quit command exits interactive mode, returning the issuer to the regular shell prompt at which the backup or backup interactive
command was issued to enter interactive mode. The command has no effect when issued outside interactive mode. Issuing the Ctrl-D command
also exits interactive mode.
CAUTIONS
To exit interactive mode, all jobs must be completed. Use the backup jobs command to list any jobs currently pending or executing, and the
backup kill command to terminate them as necessary.
OPTIONS
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command exits interactive mode:
backup> quit
%
PRIVILEGE REQUIRED
None
SEE ALSO
backup(8), backup_interactive(8), backup_jobs(8), backup_kill(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BACKUP_QUIT(8)