10-06-2019
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
Could anyone please tell me how to create a basic menu system that enables a user to select and run a script from a list of choices?
I was thinking along the lines of "push 1 to start script 1", "push 2 to start script 2" etc
If anyone could help that would be great, thank you (2 Replies)
Discussion started by: straight_edge
2 Replies
2. Shell Programming and Scripting
No longer need help! (3 Replies)
Discussion started by: john123
3 Replies
3. 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
4. Red Hat
Is there a way to create a menu in Gnome terminal to have a list of hosts with ip's like in Putty on Windows? (2 Replies)
Discussion started by: jlouki01
2 Replies
5. 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
6. UNIX for Dummies Questions & Answers
I need to write a shell script that allows some system-administration tasks to be preformed automatically from a menu-driven interface. Automate the following tasks:
• Copy directory tree
• Delete files or directories
• Output Information
But I don't understand the question. What is a "menu... (2 Replies)
Discussion started by: femchi
2 Replies
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
We have a simple menu with prompt of menu numbers to user.
It is still under construction.
Is there a way to "count" the menu choices so the prompt maximum count can be changed dynamically?
See attached TODO note in code
read_options(){
local choice
# the... (7 Replies)
Discussion started by: annacreek
7 Replies
LEARN ABOUT SUNOS
gnome-cleanup
gnome-cleanup(1) User Commands gnome-cleanup(1)
NAME
gnome-cleanup - cleans GNOME user preferences
SYNOPSIS
gnome-cleanup
DESCRIPTION
gnome-cleanup erases all GNOME user preferences, returning the user to the default look and feel. This can be used to undo an undesired
preference setting, or to correct the desktop if the preferences become corrupt. The GNOME preference files are automatically recreated
the next time the user logs into a GNOME session.
gnome-cleanup displays all preference files that it will delete before erasing any files, and prompts the user to confirm that they would
like to erase these files. Files are deleted only after receiving a positive confirmation from the user.
gnome-cleanup cannot be run while logged into a GNOME session. Users should run this program when logged into another session, for exam-
ple, the Failsafe session. If the user tries to run this program while logged into GNOME, an error message is displayed.
OPTIONS
None.
EXAMPLES
Example 1: Deleting all GNOME user preferences
example% gnome-cleanup
After displaying a list of preference files that will be deleted, the following question is displayed:
Do you wish to remove these files (Y/N)
The files are deleted only if the user provides a positive response.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-cleanup Executable for GNOME cleanup.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-panel |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
remove-gnome(1)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003.
SunOS 5.10 11 Jan 2003 gnome-cleanup(1)