Sponsored Content
Top Forums Shell Programming and Scripting Script to call a menu script and redirect each option to a text file Post 302850411 by spradha on Wednesday 4th of September 2013 04:34:58 PM
Old 09-04-2013
I want to design a new script xyz call MENU.sh and don't want to give the choice manually.
for example to select option from a text file that contains

2
3
4
5
9
10

and redirect these outputs to a text file
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Changing korn shell script text Menu colors?

Is it possible to change the color of text in a korn shell script Menu? I can change the color of session text through my telnet client but I want to be able to change color text in the Korn shell menu to highlight certain items. (6 Replies)
Discussion started by: darthur
6 Replies

2. Shell Programming and Scripting

Unix Shell Script: With Menu Option

I am attempting to create a shell script with the following capaciblities: 1. Listed options to choice from 2. Use to perform awk statements 3. Print a report with the awk results My questions are 1. How do I select more than one file for option #5 and #6 2. How to I create an... (11 Replies)
Discussion started by: jroberson
11 Replies

3. Shell Programming and Scripting

script to show menu option & need to be autorun

hi i need to perform following task have to write script to display menu like 1) login as user1 2) login as user2 3) login as user3 4) go to shell script will be run through root user user1, user2 will be logged to specific thr account. if 4th option selected it must pass... (3 Replies)
Discussion started by: anup13
3 Replies

4. Shell Programming and Scripting

Call and redirect output of Oracle stored procedure from unix script

Hi, Can you assist me in how to redirect the output of oracle stored procedure from unix script? Something similar to what i did for sybase isql -U$MYDBLOG -D$MYDBNAME -S$MYDBSVR -P$MYDBPWD -o$MYFILE<< %% proc_my_test 8 go %% Thanks in advance - jak (0 Replies)
Discussion started by: jakSun8
0 Replies

5. UNIX for Dummies Questions & Answers

What is a menu or command line option driven script?

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

6. Shell Programming and Scripting

sh file: READ (menu) but now run with option

I have a script which uses READ to detect choice of menu option...now I want to change the script without doing whole rewrite such that when user runs ./script.sh 5 it would execute menu option 5 rather than user running ./script.sh waiting for it to load and then pressing "5 enter" Is it... (1 Reply)
Discussion started by: holyearth
1 Replies

7. Shell Programming and Scripting

Call one script option to other in shell script

HI Guys, My Script abc.sh 1) Checks 2) CA Scipt 3) CIA Script 0) Exit Enter Choice : Now if i select choice 2 then after finshed choice 2 wait for 40 min and run choice 3 what i can write in CA Scipt option: if then My Code : ... (3 Replies)
Discussion started by: pareshkp
3 Replies

8. Shell Programming and Scripting

Call a Perl script within a bash script and store the ouput in a .txt file

I'm attempting to write a bash script that will create a network between virtual machines. It accepts three arguments: an RSpec that describes the network topology, and two list of machines (servers and clients). I have a (working) Perl script that I want to call. This Perl script takes an RSpec... (6 Replies)
Discussion started by: mecaka
6 Replies

9. Programming

Listing Option Menu Choices from Text File

Hello, I am starting up a tool and one of the initial steps is to select a site/location which is being read from a text file. Here is the text file contents: site1 site2 site3 Here is the code: #!/usr/bin/python from Tkinter import * (3 Replies)
Discussion started by: tattoostreet
3 Replies

10. Shell Programming and Scripting

Menu Driven Bash Shell Script with Default Option

Hi All, I have written a menu driven bash shell script. Current Output is as below: ------------------------------------- Main Menu ------------------------------------- Option 1 Option 2 Option 3 Option 4 Exit ===================================== Enter your... (3 Replies)
Discussion started by: kiran_j
3 Replies
FDUTILSCONFIG(8)					      System Manager's Manual						  FDUTILSCONFIG(8)

NAME
fdutilsconfig - configure the suid bit of fdmount SYNOPSIS
fdutilsconfig DESCRIPTION
The fdutilsconfig script provides an interactive way to configure the suid bit of the fdmount(1) binary. It asks you some questions, give you a hint if needed, and enters your choice to /etc/fdmount.conf file. When upgrading the Debian fdutils package, the suid bit information stored in /etc/fdmount.conf is used to tell the new fdmount binary to keep your old suid bit settings. The script makes use of the suidmanager Debian package, if it is installed. If the script cannot find it, it manipulates the suid bit directly via `chmod u+s' command. FILES
fdutilsconfig reads and writes the configuration from /etc/fdmount.conf. This file is usually created when the fdutils package is installed for the first time. Please don't edit /etc/fdmount.conf manually! Use fdutilsconfig instead. NOTE
This script was written exclusively for the Debian GNU/Linux distribution. It is not a part of the upstream fdutils sources. AUTHORS
fdutilsconfig was adapted by Anthony Fok <foka@debian.org> from the gnuplotconfig script written by Tibor Simko <simko@debian.org>. SEE ALSO
fdmount(1), suidregister(8), suidunregister(8) 4th Berkeley Distribution 24 January 1999 FDUTILSCONFIG(8)
All times are GMT -4. The time now is 12:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy