while true; do
echo " "
echo "Main Menu: "
echo "Please Select An Option Using The Options Provided."
echo " "
echo "1 - Search All Files"
echo " "
echo "2 - Search Individual Files"
echo " "
echo "q - Quit"
echo " "
echo "Please enter your option: "
read CHOSEN_KEY
case $CHOSEN_KEY in
1) echo " "
echo "Thank You For Selecting Search All Files"
break;;
2) echo " "
echo "Thank You For Selecting Individual Search"
break;;
q) echo " "
echo "Goodbye"
exit;;
esac
done
What i want to know is, if the user selects option 2 how do i get the code to redirect to another path. I know it is something to do with the break after option 2 is selected but what to i type to make the code go somewhere else?
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)
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)
How do I add the option to change the path in a menu? I have this script. The user chooses a number and had the option of doing something, looking for log files etc. There is a possibility they might want to look at a different path other than what I have given them such as... (2 Replies)
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)
I have indeed succeeded in adding but not to the sub menu Internet, only when I ask for all the application I can see its icon.
How can I edit the unity dash manually?
Is there a text file for this?
Some kind of folder content?
I mean I used the app "main menu" and it add it... (4 Replies)
hey all,
I already installed nautilus-actions
now , I want to add "print path" script(option) to the right context menu!..
I did :
http://img853.imageshack.us/img853/6973/59818245.png
http://img847.imageshack.us/img847/8758/37217230.png
the script print located in... (2 Replies)
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)
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)
Here is my script for the menu options.
# Bash Menu Script Example
PS3='Please enter your choice: '
options=("Option 1:" "Option 2:" "Other Reason:" "Quit")
select opt in "${options}"
do
case $opt in
"Option 1 :")
echo "you chose choice 1"
;;
... (3 Replies)
After a lot of consideration and work .... in Beta 5 for the new "User Information Modal (UIM) I have moved most UserCP menu to the UIM.
Note to Mods: I have also moved the moderation tasks items from the legacy UserCP menu to the UIM Moderation tab.
... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
gnome-panel-control
GNOME-PANEL-CONTROL(1) Openbox documentation GNOME-PANEL-CONTROL(1)NAME
Openbox - standards compliant, fast, light-weight, extensible window manager.
SYNOPSIS
gnome-panel-control <option>
DESCRIPTION
As of GNOME 2.4, gnome-panel no longer manages its own key bindings, and requires that the window manager provide its own key bindings for
showing the Main Menu and Run dialog. Openbox does this through the bundled gnome-panel-control tool, which can be used in keybindings to
access the gnome-panel. Use the --main-menu option to display gnome-panel's menu, and the --run-dialog to display its Run dialog.
OPTIONS --help
Display some help and exit.
--main-menu
Show the main menu.
--run-dialog
Show the run dialog.
AUTHORS
Openbox was written by Mikael Magnusson <mangosoft@comhem.se> and Ben Jansens <ben@openbox.org>, aided by several contributors; for a full
list read the file AUTHORS.
This manual page was written by Tore Anderson <tore@debian.org>.
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option) any later version.
On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'.
3.5.0 2013-03-27 GNOME-PANEL-CONTROL(1)