cancel
Showing results for 
Search instead for 
Did you mean: 

Re: BASH is not there

 
SOLVED
Go to solution
Regular Advisor

BASH is not there

Hi

when i type bash, bash prompt doesnt come, i dont know why, but how can i bring bash.

Thanks
8 REPLIES 8
Acclaimed Contributor

Re: BASH is not there

Precisely what error message do you see and under what shell are you executing "bash"? It sounds as though the bash executable is not in your PATH --- which is probably a very good thing. The POSIX shell on HP-UX is a modern, well-behaved shell. Whatever you do, do not make bash root's shell.
If it ain't broke, I can fix that.
Honored Contributor

Re: BASH is not there

> [...] bash prompt doesnt come [...]

What _does_ happen? What does this do?:

type bash

> [...] how can i bring bash.

http://www.gnu.org/software/bash/
Honored Contributor

Re: BASH is not there

Hi,

Have you installed bash in your system? if not then download a copy and install it.

http://hpux.cs.utah.edu/hppd/hpux/Shells/bash-3.2/

You need to install Run-time dependencies: "gettext libiconv termcap" also.

Before installing the Bash shell see the Stephenson recommendation.

Regards,
Asif Sharif
Regards,
Asif Sharif
Regular Advisor

Re: BASH is not there

Hi,
Using HPUX -11.1, with POSIX shell.

How i will install run-time dependencies: "gettext libiconv termcap" .

Plz tell me about Stephenson recommendation.

Regards,
Asif Sharif
Honored Contributor
Solution

Re: BASH is not there

Hi,

You can download all these from http://hpux.connect.org.uk. Just search for bash and you will get everything you want.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Acclaimed Contributor

Re: BASH is not there

Hi:

> Plz tell me about Stephenson recommendation.

What Clay is letting you know about *NOT* changing root's shell is this:

During startup, when '/usr' isn't mounted, and root runs a shell, there is no way for shells with dynamically linked libraries that live in '/usr' to run. This is the reason root's shell must *always* remain '/sbin/sh'. The '/sbin/sh' shell uses a statically linked libraries independent of '/usr'. If you change the default shell in '/etc/passwd' for the root account you will find yourself with a server that will not startup after a reboot!

The Posix shell used by HP-UX is available with static libraries as '/sbin/sh'. To reduce the memory footprint for normal users, a shared library implementation exists as '/usr/bin/sh'.

This does not prevent you from using a Bash shell, Simply do *not* modify root's default shell setting in '/etc/passwd' nor use anything other than '/sbin/sh' as the script interpreter in any startup scripts.

Regards!

...JRF...
Regular Advisor

Re: BASH is not there

Thanks

When i was installing bash software i got erroe msg:
The dependencies for fileset "bash.bash-RUN, r=3.2" cant be resolved.
Valued Contributor

Re: BASH is not there

Did you download all the dependencies listed on http://hpux.connect.org.uk?

Build dependencies are: gettext, libiconv, make and termcap