<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: linux shell menu in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574609#M60338</link>
    <description>you can write a shell script like this:&lt;BR /&gt;&lt;BR /&gt;###############################&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;amenu="A. DAILY LOGS CHECKING" ;&lt;BR /&gt;bmenu="B. USER-ID MANAGEMENT " ;&lt;BR /&gt;cmenu="C. MASTER OFF USER-ID " ;&lt;BR /&gt;dmenu="D. PRINTER MANAGEMENT " ;&lt;BR /&gt;emenu="E. BACKUP " ;&lt;BR /&gt;fmenu="f. HOUSEKEEPING " ;&lt;BR /&gt;gmenu="g. PERFORMANCE MONITORING " ;&lt;BR /&gt;hmenu="h. SYSTEM INFO ";&lt;BR /&gt;imenu="I. OTHERS ";&lt;BR /&gt;&lt;BR /&gt;badchoice () { MSG="Invalid Selection ... Please Try Again" ; }&lt;BR /&gt;&lt;BR /&gt;apick () { ./dailymenu.txt ; }&lt;BR /&gt;bpick () { usridmenu.txt ; }&lt;BR /&gt;cpick () { masteroffmenu.txt ; }&lt;BR /&gt;dpick () { printermenu.txt ; }&lt;BR /&gt;epick () { backupmenu.txt ; }&lt;BR /&gt;fpick () { housekeepingmenu.txt ; }&lt;BR /&gt;gpick () { performancemenu.txt ; }&lt;BR /&gt;hpick () { sysinfomenu.txt ; }&lt;BR /&gt;ipick () { othersmenu.txt ; }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;themenu () {&lt;BR /&gt;&lt;BR /&gt;clear&lt;BR /&gt;echo `date`&lt;BR /&gt;echo&lt;BR /&gt;echo&lt;BR /&gt;echo "Please Select:"&lt;BR /&gt;echo&lt;BR /&gt;echo $amenu&lt;BR /&gt;echo $bmenu&lt;BR /&gt;echo $cmenu&lt;BR /&gt;echo $dmenu&lt;BR /&gt;echo $emenu&lt;BR /&gt;echo $fmenu&lt;BR /&gt;echo $gmenu&lt;BR /&gt;echo $hmenu&lt;BR /&gt;echo $imenu&lt;BR /&gt;echo "J. Exit"&lt;BR /&gt;echo&lt;BR /&gt;echo $MSG&lt;BR /&gt;echo&lt;BR /&gt;echo Select by pressing the letter and then ENTER ; }&lt;BR /&gt;&lt;BR /&gt;MSG=&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;themenu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;read answer&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MSG=&lt;BR /&gt;&lt;BR /&gt;case $answer in&lt;BR /&gt;a|A) apick;;&lt;BR /&gt;b|B) bpick;;&lt;BR /&gt;c|C) cpick;;&lt;BR /&gt;d|D) dpick;;&lt;BR /&gt;e|E) epick;;&lt;BR /&gt;f|F) fpick;;&lt;BR /&gt;g|G) gpick;;&lt;BR /&gt;h|H) hpick;;&lt;BR /&gt;i|I) ipick;;&lt;BR /&gt;&lt;BR /&gt;j|J) break;;&lt;BR /&gt;&lt;BR /&gt;*) badchoice;;&lt;BR /&gt;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;done&lt;BR /&gt;###############################&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the idea is not mine, look here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1342366" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1342366&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 02 Feb 2010 12:03:27 GMT</pubDate>
    <dc:creator>Viktor Balogh</dc:creator>
    <dc:date>2010-02-02T12:03:27Z</dc:date>
    <item>
      <title>linux shell menu</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574605#M60334</link>
      <description>A long time ago when I was playing testdrive and civilization on my Cannon 286 I had this easy to configure menu that would launched all these great games. Now I would like to have something simmilar to run all kind of linux tools/scripts.</description>
      <pubDate>Sat, 30 Jan 2010 09:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574605#M60334</guid>
      <dc:creator>wobbe</dc:creator>
      <dc:date>2010-01-30T09:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: linux shell menu</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574606#M60335</link>
      <description>Install the ncurses library and have a look at this tutorial: &lt;A href="http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/" target="_blank"&gt;http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The library (and the tutorial) include sample code for menus which you can tailor for your application.</description>
      <pubDate>Sun, 31 Jan 2010 14:41:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574606#M60335</guid>
      <dc:creator>Joel Kammet</dc:creator>
      <dc:date>2010-01-31T14:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: linux shell menu</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574607#M60336</link>
      <description>Learning NCURSES programming just to create a few text-based menus would seem a bit... hardcore to me.&lt;BR /&gt;&lt;BR /&gt;Most Linux distributions include a "dialog" tool that can be used in scripts to create various text-based menus and other dialog boxes.&lt;BR /&gt;&lt;BR /&gt;Use your distribution's package manager to make sure the "dialog" package is installed, then see the documentation that comes with it. At least in Debian, there are a lot of usage examples in /usr/share/doc/dialog/examples, and of course the manual is available with the standard "man dialog" command.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sun, 31 Jan 2010 16:21:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574607#M60336</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-01-31T16:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: linux shell menu</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574608#M60337</link>
      <description>I have not found anything on the internet so I guess I will give "dialog" a try. I should be able to do what I want.</description>
      <pubDate>Tue, 02 Feb 2010 09:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574608#M60337</guid>
      <dc:creator>wobbe</dc:creator>
      <dc:date>2010-02-02T09:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: linux shell menu</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574609#M60338</link>
      <description>you can write a shell script like this:&lt;BR /&gt;&lt;BR /&gt;###############################&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;amenu="A. DAILY LOGS CHECKING" ;&lt;BR /&gt;bmenu="B. USER-ID MANAGEMENT " ;&lt;BR /&gt;cmenu="C. MASTER OFF USER-ID " ;&lt;BR /&gt;dmenu="D. PRINTER MANAGEMENT " ;&lt;BR /&gt;emenu="E. BACKUP " ;&lt;BR /&gt;fmenu="f. HOUSEKEEPING " ;&lt;BR /&gt;gmenu="g. PERFORMANCE MONITORING " ;&lt;BR /&gt;hmenu="h. SYSTEM INFO ";&lt;BR /&gt;imenu="I. OTHERS ";&lt;BR /&gt;&lt;BR /&gt;badchoice () { MSG="Invalid Selection ... Please Try Again" ; }&lt;BR /&gt;&lt;BR /&gt;apick () { ./dailymenu.txt ; }&lt;BR /&gt;bpick () { usridmenu.txt ; }&lt;BR /&gt;cpick () { masteroffmenu.txt ; }&lt;BR /&gt;dpick () { printermenu.txt ; }&lt;BR /&gt;epick () { backupmenu.txt ; }&lt;BR /&gt;fpick () { housekeepingmenu.txt ; }&lt;BR /&gt;gpick () { performancemenu.txt ; }&lt;BR /&gt;hpick () { sysinfomenu.txt ; }&lt;BR /&gt;ipick () { othersmenu.txt ; }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;themenu () {&lt;BR /&gt;&lt;BR /&gt;clear&lt;BR /&gt;echo `date`&lt;BR /&gt;echo&lt;BR /&gt;echo&lt;BR /&gt;echo "Please Select:"&lt;BR /&gt;echo&lt;BR /&gt;echo $amenu&lt;BR /&gt;echo $bmenu&lt;BR /&gt;echo $cmenu&lt;BR /&gt;echo $dmenu&lt;BR /&gt;echo $emenu&lt;BR /&gt;echo $fmenu&lt;BR /&gt;echo $gmenu&lt;BR /&gt;echo $hmenu&lt;BR /&gt;echo $imenu&lt;BR /&gt;echo "J. Exit"&lt;BR /&gt;echo&lt;BR /&gt;echo $MSG&lt;BR /&gt;echo&lt;BR /&gt;echo Select by pressing the letter and then ENTER ; }&lt;BR /&gt;&lt;BR /&gt;MSG=&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;themenu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;read answer&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MSG=&lt;BR /&gt;&lt;BR /&gt;case $answer in&lt;BR /&gt;a|A) apick;;&lt;BR /&gt;b|B) bpick;;&lt;BR /&gt;c|C) cpick;;&lt;BR /&gt;d|D) dpick;;&lt;BR /&gt;e|E) epick;;&lt;BR /&gt;f|F) fpick;;&lt;BR /&gt;g|G) gpick;;&lt;BR /&gt;h|H) hpick;;&lt;BR /&gt;i|I) ipick;;&lt;BR /&gt;&lt;BR /&gt;j|J) break;;&lt;BR /&gt;&lt;BR /&gt;*) badchoice;;&lt;BR /&gt;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;done&lt;BR /&gt;###############################&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the idea is not mine, look here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1342366" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1342366&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Feb 2010 12:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shell-menu/m-p/4574609#M60338</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2010-02-02T12:03:27Z</dc:date>
    </item>
  </channel>
</rss>

