bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when I try to run the "bash" file in the /usr/local/bin direct


From: Paul Jarc
Subject: Re: Error when I try to run the "bash" file in the /usr/local/bin directory after the install....
Date: 31 Jan 2001 11:31:36 -0500
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

"Mike Petkau" <mike@tenold.com> writes:
> Here is the commands that I typed and the errors i recieved:
> 
> # pwd                                                            
> /usr/local/bin                                                   
> 
> # bash                                                           
> UX:sh: ERROR: bash: Not found                                    

/usr/local/bin probably isn't in your $PATH.  Since . also isn't in
your $PATH, it doesn't matter thatyou happen to be in that directory.
$ PATH="$PATH:/usr/local/bin"
$ bash
should work, if in fact bash is in /usr/local/bin.

> # sh bash                                                        
> UX:sh (bash): ERROR: bash: Syntax error at line 1: `(' unexpected

This sort of command works only for scripts.  bash isn't a script.


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]