<?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: HPUX System Admin Menu interface in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425694#M663829</link>
    <description>&lt;!--!*#--&gt;hi,&lt;BR /&gt;&lt;BR /&gt;if those *.txt files contains the submenu code then set they to executable:&lt;BR /&gt;&lt;BR /&gt;# chmod +x *menu.txt&lt;BR /&gt;&lt;BR /&gt;after that, you can run the submenu code like this:&lt;BR /&gt;&lt;BR /&gt;apick () { ./dailymenu.txt ; }&lt;BR /&gt;&lt;BR /&gt;However if they are really containing script code, it is best practice to rename them to *.sh or *.ksh&lt;BR /&gt;</description>
    <pubDate>Tue, 26 May 2009 09:29:22 GMT</pubDate>
    <dc:creator>Viktor Balogh</dc:creator>
    <dc:date>2009-05-26T09:29:22Z</dc:date>
    <item>
      <title>HPUX System Admin Menu interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425691#M663826</link>
      <description>I has been created main screen interface. Kindly find attachment. At the same time I encountered several problems and need your advice:&lt;BR /&gt; &lt;BR /&gt;The question is at the main menu, when I selected the option , supposedly go through submenu. But can't and no functionality. Please see the screen and script as below&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1) main menu&lt;BR /&gt;====================&lt;BR /&gt;&lt;BR /&gt;Tue May 19 01:31:36 MYT 2009&lt;BR /&gt;&lt;BR /&gt;Please Select:&lt;BR /&gt;&lt;BR /&gt;A. DAILY LOGS CHECKING&lt;BR /&gt;B. USER-ID MANAGEMENT&lt;BR /&gt;C. MASTER OFF USER-ID&lt;BR /&gt;D. PRINTER MANAGEMENT&lt;BR /&gt;E. BACKUP&lt;BR /&gt;f. HOUSEKEEPING&lt;BR /&gt;g. PERFORMANCE MONITORING&lt;BR /&gt;h. SYSTEM INFO&lt;BR /&gt;I. OTHERS&lt;BR /&gt;J. Exit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Select by pressing the letter and then ENTER&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;script:&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;</description>
      <pubDate>Mon, 25 May 2009 01:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425691#M663826</guid>
      <dc:creator>shell script_1</dc:creator>
      <dc:date>2009-05-25T01:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX System Admin Menu interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425692#M663827</link>
      <description>&amp;gt;supposedly go through submenu. But can't and no functionality.&lt;BR /&gt;&lt;BR /&gt;Your submenu code looks like this:&lt;BR /&gt;apick () { dailymenu.txt ; }&lt;BR /&gt;&lt;BR /&gt;Is dailymenu.txt suppose to be a script?  If so, it probably should end in .sh or .ksh, not .txt.</description>
      <pubDate>Mon, 25 May 2009 02:25:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425692#M663827</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-25T02:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX System Admin Menu interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425693#M663828</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Remove the while loop and run it&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Mon, 25 May 2009 04:34:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425693#M663828</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-05-25T04:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX System Admin Menu interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425694#M663829</link>
      <description>&lt;!--!*#--&gt;hi,&lt;BR /&gt;&lt;BR /&gt;if those *.txt files contains the submenu code then set they to executable:&lt;BR /&gt;&lt;BR /&gt;# chmod +x *menu.txt&lt;BR /&gt;&lt;BR /&gt;after that, you can run the submenu code like this:&lt;BR /&gt;&lt;BR /&gt;apick () { ./dailymenu.txt ; }&lt;BR /&gt;&lt;BR /&gt;However if they are really containing script code, it is best practice to rename them to *.sh or *.ksh&lt;BR /&gt;</description>
      <pubDate>Tue, 26 May 2009 09:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425694#M663829</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-05-26T09:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX System Admin Menu interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425695#M663830</link>
      <description>thanks all for your opinion , the problem has been solved .</description>
      <pubDate>Wed, 27 May 2009 07:19:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-system-admin-menu-interface/m-p/4425695#M663830</guid>
      <dc:creator>tan chin tiau</dc:creator>
      <dc:date>2009-05-27T07:19:19Z</dc:date>
    </item>
  </channel>
</rss>

