<?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: How do I insert a &amp;quot;hit any key&amp;quot; &amp;quot;pause&amp;quot; into my script? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896221#M701342</link>
    <description>Aloha Mr. Stephenson,&lt;BR /&gt;&lt;BR /&gt;I've inserted your two lines in place of the "pause" in my script and it worked flawlessly, but I realize now that my original script is generating garbled output to the terminal screen. I know that it wasn't your two lines, but is there something I am missing in my echo syntax? I am running HP-UX 11.0. I'm assigning you the full 10 pts. for your quick answer though, and thanks.&lt;BR /&gt;&lt;BR /&gt;Very Respectfully,&lt;BR /&gt;Chris Elmore</description>
    <pubDate>Thu, 14 Apr 2005 17:07:40 GMT</pubDate>
    <dc:creator>Chris Elmore</dc:creator>
    <dc:date>2005-04-14T17:07:40Z</dc:date>
    <item>
      <title>How do I insert a "hit any key" "pause" into my script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896219#M701340</link>
      <description>Aloha Folks,&lt;BR /&gt;&lt;BR /&gt;Limited by my work-imposed "jack of all trades" SA lifestyle, hence I am a novice at shell scripting and I am preparing a very simple script to help me document my server system for future trouble-shooting purposes. I want to insert an old DOS pause equivalent command that waits for user input after the echoed info via the "hit any key" method. I would also like a nifty way to show our server operators that the script is actually running, some kind of way to show them that these text files/reports are being made, eye candy is great if you know of a way. Thanks in advance folks for anything that you can contribute, I greatly appreciate it.&lt;BR /&gt;&lt;BR /&gt;Very Respectfully,&lt;BR /&gt;Chris Elmore&lt;BR /&gt;&lt;BR /&gt;echo **************************************************************************&lt;BR /&gt;echo * HP_info_rpt.sh | Ver. 1.0                                              *&lt;BR /&gt;echo * Author: Chris Elmore, Sr. Systems Analyst                              *&lt;BR /&gt;echo * Date Written/Revised: April 14, 2005                                   *&lt;BR /&gt;echo *                                                                        *&lt;BR /&gt;echo * This shell script will generate 9 text file reports to help document   *&lt;BR /&gt;echo * the HP server system. It will collect these 9 text reports in the      *&lt;BR /&gt;echo * /export/chris directory. This shell script will be run once per week   *&lt;BR /&gt;echo * and before &amp;amp; after each release is installed on the HP for our own     *&lt;BR /&gt;echo * internal documentation and to aid in system troubleshooting.           *&lt;BR /&gt;echo *                                                                        *&lt;BR /&gt;echo * Revision History:                                                      *&lt;BR /&gt;echo * 04/14/2005 Ver. 1.0 Written by Chris Elmore.                           *&lt;BR /&gt;echo **************************************************************************&lt;BR /&gt;&lt;BR /&gt;pause&lt;BR /&gt;cd /&lt;BR /&gt;clear&lt;BR /&gt;&lt;BR /&gt;# Section 1&lt;BR /&gt;# To see the disks on the system. This only gives us the physical addresses.&lt;BR /&gt;clear&lt;BR /&gt;/usr/sbin/ioscan -funC disk &amp;gt; /export/chris/ioscan.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Section 2&lt;BR /&gt;# To see the volume groups.&lt;BR /&gt;clear&lt;BR /&gt;vgdisplay -v &amp;gt; /export/chris/vgdisplay.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Section 3&lt;BR /&gt;# To view detailed logical volume information. Look for mirrored and current status.&lt;BR /&gt;clear&lt;BR /&gt;lvdisplay -v /dev/vg00/lvol* &amp;gt; /export/chris/lvdisplay.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Section 4&lt;BR /&gt;# To have a record of the logical volumes.&lt;BR /&gt;clear&lt;BR /&gt;ll /dev/vg* &amp;gt; /export/chris/ll.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Section 5&lt;BR /&gt;# To view the file systems and free space.&lt;BR /&gt;clear&lt;BR /&gt;bdf &amp;gt; /export/chris/bdf.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Section 6&lt;BR /&gt;# To view swap devices.&lt;BR /&gt;clear&lt;BR /&gt;swapinfo &amp;gt; /export/chris/swapinfo.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Section 7&lt;BR /&gt;# To look at the boot information.&lt;BR /&gt;clear&lt;BR /&gt;lvlnboot -v /dev/vg00 &amp;gt; /export/chris/lvlnboot.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Section 8&lt;BR /&gt;# To look at the boot area.&lt;BR /&gt;clear&lt;BR /&gt;lifls -Clv /dev/dsk/c1t2d0 &amp;gt; /export/chris/lifls.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Section 9&lt;BR /&gt;# To get a detailed directory and file listing showing permissions, owner &amp;amp; group info, in a recursive listing.&lt;BR /&gt;clear&lt;BR /&gt;cd /&lt;BR /&gt;ls -alFR &amp;gt; /export/chris/permissions.txt&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Apr 2005 16:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896219#M701340</guid>
      <dc:creator>Chris Elmore</dc:creator>
      <dc:date>2005-04-14T16:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a "hit any key" "pause" into my script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896220#M701341</link>
      <description>echo "Press &lt;RETURN&gt; to continue \c"&lt;BR /&gt;read DUMMY&lt;BR /&gt;&lt;/RETURN&gt;</description>
      <pubDate>Thu, 14 Apr 2005 16:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896220#M701341</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-04-14T16:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a "hit any key" "pause" into my script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896221#M701342</link>
      <description>Aloha Mr. Stephenson,&lt;BR /&gt;&lt;BR /&gt;I've inserted your two lines in place of the "pause" in my script and it worked flawlessly, but I realize now that my original script is generating garbled output to the terminal screen. I know that it wasn't your two lines, but is there something I am missing in my echo syntax? I am running HP-UX 11.0. I'm assigning you the full 10 pts. for your quick answer though, and thanks.&lt;BR /&gt;&lt;BR /&gt;Very Respectfully,&lt;BR /&gt;Chris Elmore</description>
      <pubDate>Thu, 14 Apr 2005 17:07:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896221#M701342</guid>
      <dc:creator>Chris Elmore</dc:creator>
      <dc:date>2005-04-14T17:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a "hit any key" "pause" into my script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896222#M701343</link>
      <description>Your problem is&lt;BR /&gt;echo **&lt;BR /&gt;&lt;BR /&gt;That is VERY different from echo "**". I leave it as a student exercise to figure out why.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Apr 2005 17:18:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896222#M701343</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-04-14T17:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a "hit any key" "pause" into my script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896223#M701344</link>
      <description>AHA! And the light bulb fires! Truly, you are worthy of your HP wreath. Thanks for the help, another 10 pts. and my honest gratitude is your reward well deserved.&lt;BR /&gt;&lt;BR /&gt;Very Respectfully,&lt;BR /&gt;Chris Elmore</description>
      <pubDate>Thu, 14 Apr 2005 18:59:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896223#M701344</guid>
      <dc:creator>Chris Elmore</dc:creator>
      <dc:date>2005-04-14T18:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a "hit any key" "pause" into my script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896224#M701345</link>
      <description>Thanks for making me a believer of the HP forums.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 14 Apr 2005 19:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-insert-a-quot-hit-any-key-quot-quot-pause-quot-into-my/m-p/4896224#M701345</guid>
      <dc:creator>Chris Elmore</dc:creator>
      <dc:date>2005-04-14T19:00:43Z</dc:date>
    </item>
  </channel>
</rss>

