10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
I have a menu based tool which requires input/option to proceed further. How to make a shell script ?
eg: menu looks like
Get_data.sh
to continue (y/n) :
Here I need to key in "y" to proceed.
I want to prepare a script which should consider option y. (5 Replies)
Discussion started by: suresh3566
5 Replies
2. Shell Programming and Scripting
Hello all, I am sort of new to Shell programming and to this forum. I want to create a script that auto selects menu options.
lets say I have a menu.
MAIN MENU
1.) opt1
2.)opt2
3.)opt3
I want the script to automatically select option 1. (6 Replies)
Discussion started by: gerry8a
6 Replies
3. Shell Programming and Scripting
Hi There,
I am trying to write a script which has to pick the prompted options by itself(i mean option to choose will be passed)
here is real scenario i am trying to do.
i have an executable(diagnos) which gets called in shell script, when the executable (diagnos) runs i get following as... (8 Replies)
Discussion started by: sairam_9191
8 Replies
4. Shell Programming and Scripting
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
5. Windows & DOS: Issues & Discussions
I dual boot between Windows XP and Linux Mint. I am trying to get the Windows Advanced Options Menu to show up. Normally you would press f8 to make this happen when your computer is booting. With a dual boot it makes it way more complicated. If you press f8 when your computer first starts it does... (3 Replies)
Discussion started by: cokedude
3 Replies
6. Homework & Coursework Questions
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)
Discussion started by: vaghya
1 Replies
7. Shell Programming and Scripting
I would like to automate script where i do not have to manually insert the username and password I wrote two different scripts but not able to achieve the results: here's to scripts i wrote
#!/bin/bash
cd /var/tmp
/home/server/steve/pca --askauth -idx
/opt/app/bin/expect <<EOF
expect... (3 Replies)
Discussion started by: sam786
3 Replies
8. UNIX for Advanced & Expert Users
I would like to automate script where i do not have to manually insert the username and password I wrote two different scripts but not able to achieve the results: here's to scripts i wrote
#!/bin/bash
cd /var/tmp
/home/server/steve/pca --askauth -idx
/opt/app/bin/expect <<EOF
expect... (1 Reply)
Discussion started by: sam786
1 Replies
9. Shell Programming and Scripting
Hi all,
I would like to have some details on menu.lst!!
the reason is ,if i am trying to add my own boot option where do i need to add it?
is it in menu.lst only or elsewere(am referring to unix os)
because i tried adding a unique boot option and it was not reflected when the system booted?... (8 Replies)
Discussion started by: wrapster
8 Replies
10. UNIX for Dummies Questions & Answers
I'm programming a menu for an intro to unix class and am hung up on 2 required options. One has to exit from unix. The other has to get a command prompt by using one of the menu choices, then return to the menu via CTRL-D. below is my code
#!/bin/ksh
#Jimmy's happy menu
mesg y
msg="ON"... (2 Replies)
Discussion started by: sanitywonko
2 Replies