LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-02-2014, 08:41 AM   #1
rmcateer
Member
 
Registered: Oct 2014
Posts: 41

Rep: Reputation: Disabled
Syntax for bash dialog submenu


I am currently trying to do a bash script for a dialog box. the box will have a few options but when the user presses the option, I want it to reveal other options. Is it possible to do this without writing many bash scripts? For example:

1. System(when pressed it goes to another dialog option)
1a Iostat
1b Vmstat

2 Permissions(when pressed it goes to another dialog option)
2a. change
2b. remove

etc


Does anyone know the syntax? I can only seem to create one dialog box so far.
 
Old 11-02-2014, 06:14 PM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,006

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
You should be able to call a second dialog box from within your choices in the first.
 
Old 11-03-2014, 02:12 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
what have you implemented so far? show us, and someone might be able to give some advice.
 
  


Reply

Tags
bash, dialog, linux, menu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does bash-dialog an kconfig work together? embLinux Linux - Kernel 0 05-15-2014 02:44 PM
[SOLVED] Bash Dialog embLinux Programming 11 05-12-2014 04:50 AM
Bash Dialog joshp Programming 6 09-18-2012 10:26 AM
[BASH] dynamic dialog ejme Programming 2 12-15-2010 12:24 AM
Bash Loop Dialog xlordt Programming 5 09-26-2006 09:40 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration