Sponsored Content
Full Discussion: Returning to menu
Top Forums Shell Programming and Scripting Returning to menu Post 302771896 by Klashxx on Friday 22nd of February 2013 04:32:35 AM
Old 02-22-2013
This may be helpful A ksh interactive menu | NixTip
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

returning value from sqlplus

Hi, I need to return one value from sqlplus to UNIX environment. Can anyone give me an example? i.e. select username from v$session where sid=15; This query will return username value which I require in UNIX after exiting from sqlplus. Malay (1 Reply)
Discussion started by: malaymaru
1 Replies

2. UNIX for Advanced & Expert Users

pclose returning -1

Hi all, In my application i am trying to select some text & then give it to print. for this i am opening a stream using popen & then later closing using pclose. Now this is working fine in my environment (solaris) but the pclose function is failing at my clients m/c. Even though print is... (3 Replies)
Discussion started by: nimishm123
3 Replies

3. Shell Programming and Scripting

returning from a function

Hi all, I am very new to BASH shell programming. I need to return an integer from a function to the caller function. I did this: but it keeps giving me wrong return: Can someone help me out here, please? Thanks (2 Replies)
Discussion started by: alirezan
2 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. UNIX for Dummies Questions & Answers

Returning to Menu automatically

I am trying to write a script where after choosing an option from the main menu the information from the option is displayed for 5 seconds and then the person is automatically returned to the main menu. I would really appreciate the help. Thanks! (4 Replies)
Discussion started by: Grimblegrumble
4 Replies

6. Shell Programming and Scripting

Returning -ve value in a pattern

Dear Friends, I need your help once more. I want to write a simple select as follows select amount from books where sr=1234 However, if value of "Amount" is negative then it should print it as follows. "3000-" and not as "-3000" Can you help me in this? Waiting for reply Anu. (2 Replies)
Discussion started by: anushree.a
2 Replies

7. Shell Programming and Scripting

Menu with sub-menu options

Hi! I have created on script which is working fine with menu options and with a sub-menu. I want to enhance it by using sub-options under menu options. Like. option 1) will give the list only. option 1.1) should give the option to user to choose one file, whose content user wanna see. ... (3 Replies)
Discussion started by: sukhdip
3 Replies

8. 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

9. 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
BOOTCD2DISK(1)							   bootcd utils 						    BOOTCD2DISK(1)

NAME
bootcd2disk - copy a system running from bootcd to a disk SYNOPSIS
bootcd2disk [-i] [-s] [-c <config directory>] [-url <url>] DESCRIPTION
With bootcd2disk a CD build with bootcdwrite can be copied to one or more Disk Partitions from the running cd-based system. Therefore bootcd could be used to make rescue disks. It is also possible to let bootcd2disk automatically find a disk, make partitions on it, copy the cd to the disk and make the disk bootable. bootcd2disk will be available as soon as your system is running from cd. OPTIONS
-i With this option the complete bootcd2disk runs in interactive mode and you can run each function manually. This option is useful for debugging. -v The option "-v" (verbose) adds messages on running. -s This option can be used to disable interactive questions and to try to ignore errors. -c <config directory> The configuration directory which normally is "/etc/bootcd" can be changed with this. -url <url> If bootcd2disk is slow on your system (because of a slow CD/DVD drive or the HP ILO virtual CD interface), you can use an image server to get the image from. bootcd2disk use the SWAP partition of your upcoming system as temporary space and copy the image from the con- figured image server to this partition and use it as image. The image server url is configured with this option. example install from imagesserver: bootcd2disk -url http://192.168.1.1/cdimage.iso Another way the increase the performance is the use of the mounted CD/DVD itself for the copy. The option "-url" is the same, the url starts with "file:///" example install from CD/DVD drive sdc0: bootcd2disk -url file:///dev/sdc0 The swap partition of the upcoming system must have enough space to get the whole image! Currently no other options can be specified on command line. All other configuration has to be done in the config files. FILES
/etc/bootcd/bootcd2disk.conf Configuration for bootcd2disk. SEE ALSO
Documentation in bootcd2disk.conf bootcd2disk.conf(5), bootcd(1), bootcdflopcp(1), bootcdwrite(1) AUTHOR
This manual page was written by Bernd Schumacher <bernd.schumacher@hp.com> and Carsten Dinkelmann <Carsten.Dinkelmann@foobar-cpa.de> for the Debian GNU/Linux system (but may be used by others). bootcd2disk 2007-04-04 BOOTCD2DISK(1)
All times are GMT -4. The time now is 07:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy