04-05-2010
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a main menu
quit=n
while
do
clear
echo
echo "1. General system information"
echo "2. Hardware utilisation information"
echo "3. File management"
echo "4. User information"
echo "5. Information on network connectivity"
echo "6. Information on processes"
echo "Q.Quit" ... (3 Replies)
Discussion started by: AngelFlesh
3 Replies
2. Shell Programming and Scripting
I have an interactive menu script written in bash and I would like use PHP to open the interactive bash menu in a browser.
Is this possible?
Using the sytem() function in php runs the script but it's all garbled.
Seems like maybe a terminal window needs to be opened in php first?
... (1 Reply)
Discussion started by: nck
1 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. Shell Programming and Scripting
Hi again :)
This is just a sample whiptail menu.
Works great, but have been trying to get the chosen value into a variable but failing pretty bad...its ther but unsure how to echo it out when needed
#! /bin/bash
#This is the menu
whiptail --title "Menu example" --menu "Choose an... (9 Replies)
Discussion started by: olearydc
9 Replies
5. UNIX for Dummies Questions & Answers
Dear Sir,
May I know how do I go about adding the following feature into the script below:
When user enter values other than 1,2,3,4,
a) Message “Wrong entry !!! Pls select 1,2,3 or 4” is displayed
b) The screen is cleared again and the menu is displayed.
#!/bin/bash
clear
var=1... (2 Replies)
Discussion started by: fusetrips
2 Replies
6. Shell Programming and Scripting
Hello,
Been trying to build a menu with whiptail lately. However, my code doesn't seems to be working even though when i compared to other similar code they looks the same.
#!/bin/bash
clear
whiptail --msgbox "Entering networking sub-menu" 20 78
whiptail --title Networking --menu... (8 Replies)
Discussion started by: malfolozy
8 Replies
7. Open Source
The perl command is not executing? I am trying to run the .pl in my cygwin home directory (C:\cygwin\home\cmccabe) using ${id}.txt.hg19_multianno.txt (located in the annovar directory) as the input file to be formatted and $FILENAME is the output file to be saved. The .pl is attached as... (8 Replies)
Discussion started by: cmccabe
8 Replies
8. Shell Programming and Scripting
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
9. 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
10. Shell Programming and Scripting
Hi, I'm new to bash, and have an example menu script using Zenity. It works fine if the user enters A B or C, but if the user enters nothing, I can only figure out how to exit the script. How do I get the menu to reappear if no input is selected?
The script is:
title="Select example"... (2 Replies)
Discussion started by: allen11
2 Replies
LEARN ABOUT MINIX
dh_installmenu
DH_INSTALLMENU(1) Debhelper DH_INSTALLMENU(1)
NAME
dh_installmenu - install Debian menu files into package build directories
SYNOPSIS
dh_installmenu [debhelperoptions] [-n]
DESCRIPTION
dh_installmenu is a debhelper program that is responsible for installing files used by the Debian menu package into package build
directories.
It also automatically generates the postinst and postrm commands needed to interface with the Debian menu package. These commands are
inserted into the maintainer scripts by dh_installdeb(1).
FILES
debian/package.menu
Debian menu files, installed into usr/share/menu/package in the package build directory. See menufile(5) for its format.
debian/package.menu-method
Debian menu method files, installed into etc/menu-methods/package in the package build directory.
OPTIONS
-n, --no-scripts
Do not modify postinst/postrm scripts.
SEE ALSO
debhelper(7) update-menus(1) menufile(5)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLMENU(1)