<?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: Bash Shell Installation Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602081#M375967</link>
    <description>Try starting bash using the full pathname:&lt;BR /&gt;&lt;BR /&gt;/usr/local/bin/bash&lt;BR /&gt;&lt;BR /&gt;If that works, edit /etc/PATH to add /usr/local/bin to the default PATH setting of the system. Then logout &amp;amp; login to make the change effective in your session.&lt;BR /&gt;&lt;BR /&gt;If the user types a command without using the full pathname, the system will try to find the command binary in the directories listed in the PATH environment variable. Most shells will also have some internal commands, which can be executed without loading anything from the disk.&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Wed, 17 Mar 2010 05:45:24 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2010-03-17T05:45:24Z</dc:date>
    <item>
      <title>Bash Shell Installation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602079#M375965</link>
      <description>Hi I've HP-UX 11.23 IA-64 &lt;BR /&gt;&lt;BR /&gt;I've installed:&lt;BR /&gt;&lt;BR /&gt;- bash-4.0.033-ia64-11.23.depot&lt;BR /&gt;- gettext-0.17-ia64-11.23.depot&lt;BR /&gt;- libiconv-1.13.1-ia64-11.23.depot&lt;BR /&gt;- termcap-1.3.1-ia64-11.23.depot&lt;BR /&gt;&lt;BR /&gt;But the result is:&lt;BR /&gt;# bash&lt;BR /&gt;sh: bash: not found.&lt;BR /&gt;&lt;BR /&gt;Here is some previous comments&lt;BR /&gt;*bash isn't in your PATH ;)&lt;BR /&gt;try "whereis bash" and run it with full path (or redefine you PATH variable*&lt;BR /&gt;&lt;BR /&gt;Then my actions:&lt;BR /&gt;&lt;BR /&gt;# whereis bash&lt;BR /&gt;bash: /usr/local/man/man1/bash.1&lt;BR /&gt;&lt;BR /&gt;# bash /usr/local/man/man1/bash.1&lt;BR /&gt;sh: bash: not found.&lt;BR /&gt;&lt;BR /&gt;Sorry, but I may ask some silly questions but I'm novice in UNIX OS (HP-UX)</description>
      <pubDate>Wed, 17 Mar 2010 02:35:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602079#M375965</guid>
      <dc:creator>Dauren</dc:creator>
      <dc:date>2010-03-17T02:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bash Shell Installation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602080#M375966</link>
      <description>&lt;!--!*#--&gt;&amp;gt; # whereis bash&lt;BR /&gt;&amp;gt; bash: /usr/local/man/man1/bash.1&lt;BR /&gt;&lt;BR /&gt;If the "man" page was installed under&lt;BR /&gt;"/usr/local", then the "bash" program&lt;BR /&gt;probably should have been, too.&lt;BR /&gt;&lt;BR /&gt;      find /usr/local -name bash&lt;BR /&gt;&lt;BR /&gt;If that fails, you might try:&lt;BR /&gt;&lt;BR /&gt;      find /opt -name bash&lt;BR /&gt;&lt;BR /&gt;Normally, I'd expect it to be&lt;BR /&gt;"/usr/local/bin/bash", but I don't know who&lt;BR /&gt;built those depots, or how.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; *bash isn't in your PATH ;)&lt;BR /&gt;&lt;BR /&gt;      echo $PATH</description>
      <pubDate>Wed, 17 Mar 2010 02:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602080#M375966</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-03-17T02:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Bash Shell Installation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602081#M375967</link>
      <description>Try starting bash using the full pathname:&lt;BR /&gt;&lt;BR /&gt;/usr/local/bin/bash&lt;BR /&gt;&lt;BR /&gt;If that works, edit /etc/PATH to add /usr/local/bin to the default PATH setting of the system. Then logout &amp;amp; login to make the change effective in your session.&lt;BR /&gt;&lt;BR /&gt;If the user types a command without using the full pathname, the system will try to find the command binary in the directories listed in the PATH environment variable. Most shells will also have some internal commands, which can be executed without loading anything from the disk.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 17 Mar 2010 05:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602081#M375967</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-03-17T05:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bash Shell Installation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602082#M375968</link>
      <description>I've re-installed all 4 apps. By the way I downloaded them from &lt;A href="http://hpux.connect.org.uk/hppd/hpux" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;# whereis bash&lt;BR /&gt;bash: /usr/local/bin/bash /usr/local/man/man1/bash.1 /usr/local/share/man/man1/bash.1&lt;BR /&gt;&lt;BR /&gt;Then again:&lt;BR /&gt;&lt;BR /&gt;# bash /usr/local/bin/bash&lt;BR /&gt;sh: bash:  not found.&lt;BR /&gt;# bash /usr/local/man/man1/bash.1&lt;BR /&gt;sh: bash:  not found.&lt;BR /&gt;# bash /usr/local/share/man/man1/bash.1&lt;BR /&gt;sh: bash:  not found.&lt;BR /&gt;&lt;BR /&gt;# man bash&lt;BR /&gt;works fine (have the description of command)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The result of find:&lt;BR /&gt;#  find /usr/local -name bash&lt;BR /&gt;/usr/local/bin/bash&lt;BR /&gt;/usr/local/doc/bash&lt;BR /&gt;/usr/local/var/adm/sw/products/bash&lt;BR /&gt;&lt;BR /&gt;But anyway:&lt;BR /&gt;&lt;BR /&gt;# bash&lt;BR /&gt;sh: bash:  not found.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2010 05:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602082#M375968</guid>
      <dc:creator>Dauren</dc:creator>
      <dc:date>2010-03-17T05:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bash Shell Installation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602083#M375969</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;You should edit /etc/PATH and add at the end:&lt;BR /&gt;&lt;BR /&gt;:/usr/local/bin&lt;BR /&gt;&lt;BR /&gt;Save the file and logout from you shell then log back in (Or you could source again your profile in order to prevent logoff)&lt;BR /&gt;&lt;BR /&gt;Horia.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2010 06:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602083#M375969</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-03-17T06:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bash Shell Installation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602084#M375970</link>
      <description>&amp;gt;may ask some silly questions but I'm novice in UNIX OS&lt;BR /&gt;&lt;BR /&gt;This is elementary shells 101.  If you don't want to use an absolute path, you must set $PATH to where you want to find your software.&lt;BR /&gt;If you don't understand this, you are doomed to always specify the absolute path to bash.&lt;BR /&gt;&lt;BR /&gt;# whereis bash&lt;BR /&gt;bash: /usr/local/bin/bash &lt;BR /&gt;&lt;BR /&gt;The proper real shell command is:&lt;BR /&gt;whence bash&lt;BR /&gt;&lt;BR /&gt;# bash /usr/local/bin/bash&lt;BR /&gt;sh: bash: not found.&lt;BR /&gt;&lt;BR /&gt;This means you need to do:&lt;BR /&gt;/usr/local/bin/bash&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The result of find: /usr/local/bin/bash&lt;BR /&gt;&lt;BR /&gt;As Steven said.  You need to fix your $PATH, or /etc/PATH if you want to do it for everyone.&lt;BR /&gt;&lt;BR /&gt;WARNING: Do NOT set root's shell to bash!  You can invoke bash to switch shells.</description>
      <pubDate>Wed, 17 Mar 2010 06:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602084#M375970</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-17T06:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bash Shell Installation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602085#M375971</link>
      <description>Thanks everybody. I've edited /etc/PATH as you advised and now bash works fine.</description>
      <pubDate>Wed, 17 Mar 2010 06:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602085#M375971</guid>
      <dc:creator>Dauren</dc:creator>
      <dc:date>2010-03-17T06:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bash Shell Installation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602086#M375972</link>
      <description># bash /usr/local/bin/bash&lt;BR /&gt;sh: bash: not found.&lt;BR /&gt;&lt;BR /&gt;The above command is not what I meant. &lt;BR /&gt;&lt;BR /&gt;Try instead:&lt;BR /&gt;&lt;BR /&gt;# /usr/local/bin/bash&lt;BR /&gt;&lt;BR /&gt;If that does not work, and still causes an error message like "sh: /usr/local/bin/bash: not found", then it might be because although /usr/local/bin/bash is there, one of the libraries required by it cannot be found.&lt;BR /&gt;&lt;BR /&gt;Try running:&lt;BR /&gt;&lt;BR /&gt;# ldd /usr/local/bin/bash&lt;BR /&gt;&lt;BR /&gt;It should list all the libraries required by bash. If it says "not found" on any of them, that is the most likely cause for your problem.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 17 Mar 2010 06:45:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602086#M375972</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-03-17T06:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Bash Shell Installation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602087#M375973</link>
      <description>2 MK: &lt;BR /&gt;&lt;BR /&gt;I've re-edited /etc/PATH and tried /usr/local/bin/bash - it works (realised my mistake)&lt;BR /&gt;&lt;BR /&gt;# ldd /usr/local/bin/bash&lt;BR /&gt;        libtermcap.so =&amp;gt;        /usr/local/lib/hpux32/libtermcap.so&lt;BR /&gt;        libintl.so =&amp;gt;   /usr/local/lib/hpux32/libintl.so&lt;BR /&gt;        libdl.so.1 =&amp;gt;   /usr/lib/hpux32/libdl.so.1&lt;BR /&gt;        libc.so.1 =&amp;gt;    /usr/lib/hpux32/libc.so.1&lt;BR /&gt;        libiconv.so =&amp;gt;  /usr/local/lib/hpux32/libiconv.so&lt;BR /&gt;        libc.so.1 =&amp;gt;    /usr/lib/hpux32/libc.so.1&lt;BR /&gt;&lt;BR /&gt;All libraries are OK.&lt;BR /&gt;&lt;BR /&gt;Thanks for promt and comprehensive answers.</description>
      <pubDate>Wed, 17 Mar 2010 06:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bash-shell-installation-problem/m-p/4602087#M375973</guid>
      <dc:creator>Dauren</dc:creator>
      <dc:date>2010-03-17T06:58:18Z</dc:date>
    </item>
  </channel>
</rss>

