10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey, im fairly new to unix and Im trying to make this unix project that would display a menu and do the following.
MENU
===========================
(p, P) Print users info
(a, A) Add new user
(s, S) Search user
(d, D) Delete user
(x,X) Exit
Enter your choice:
Trying to... (3 Replies)
Discussion started by: ultimaxtrd
3 Replies
2. Shell Programming and Scripting
Hi Master of masters,
Thanks for ur reply.
Need ur help for following. Is it possible to create menu for following in linux or a function.
> Look in logs > Status > Action > End Action
> CONFSUCCESS > Success > Show message as successful > Enter to continue
> CONFFAIL > Failure > Show... (1 Reply)
Discussion started by: rajeshwebspere
1 Replies
3. Shell Programming and Scripting
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
Discussion started by: spradha
4 Replies
4. Shell Programming and Scripting
HI All..
below is my menu options script. in option 2,3 and 4 im giving input and they are saving into their respective text file.
problem is when im trying to "cat" those files in options 7,8 and 9 im not getting the output. no respective file contents are displaying on screen. but if i... (1 Reply)
Discussion started by: saichand1985
1 Replies
5. 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
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
Hi,
I need your help co create a very small menu somthing that look like this:
1. first step
2. second step
3. last step
from step : ___
to step : ___
If the user choose 1 --> it will echo : Hellow
If the user choose 2 --> it will echo : World
If the user choose 3 --> it will echo... (4 Replies)
Discussion started by: yoavbe
4 Replies
8. Shell Programming and Scripting
Hi
I am wanting to create a menu that will list all the log files in a specific directory such as /apps/logs.
So it would be something like this:
#!/bin/ksh
print 'Select The Required Log File'
PS3='log? '
select choice in <this is to contain a list of files that are in a directory that... (3 Replies)
Discussion started by: markrj
3 Replies
9. Shell Programming and Scripting
Hi folks,
I have the following function ,which generates menu for installation type:
select_install_type()
{
echo
echo ========================================
echo Please select the type of installation:
echo ========================================
... (8 Replies)
Discussion started by: nir_s
8 Replies
10. Shell Programming and Scripting
Trying to alias rm to move files to a hidden trash directory in the bash shell. I've tried to create this alias numberous ways and it's just not working. Here's what I've tried, anyone have any suggestions.
alias rm='mv $* ~/.trash'
alias rm= 'mv$* ~/.trash'
things like that... I've also... (2 Replies)
Discussion started by: strmy_ngts
2 Replies