LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bash command not working (https://www.linuxquestions.org/questions/linux-newbie-8/bash-command-not-working-730619/)

answerme 06-04-2009 05:46 AM

bash command not working
 
Hi
Iam getting this error when i run BASH command

Code:

bash: export: `/usr/java/j2sdk1.4.2_19': not a valid identifier
What does this means

druuna 06-04-2009 05:48 AM

Hi,

What is the command you're trying to run/execute?

repo 06-04-2009 05:50 AM

Seems like you have a messed-up line in your .bashrc (or possibly .profile or .bash_profile.)

answerme 06-04-2009 06:46 AM

I run BASH command
Is there anyway to resolve it

druuna 06-04-2009 06:48 AM

Hi,

BASH is not a command.....

Are you trying to start a new shell (ie: bash<enter> or are you trying to start a bash 'command' (if so, which one).

pixellany 06-04-2009 06:55 AM

"bash" is the name of the typical Linux shell. You would not normally ever enter this as a command. If you do enter "bash", it should just start another shell and not retrun any message.

Please post the exact contents (copy and paste) of the terminal window, including the command you are running, and the error message coming back.

soleilarw 06-04-2009 07:35 AM

I assume that some application that utilizes Java is sending the error to your default bash shell (which is a terminal). You need to sort out for yourself what runs on your Computer. Stating that you run the "bash command" is not a hint, it only adds to the confusion if you put it that way.

Linux Archive

tourniquet 06-04-2009 07:55 AM

i second repo

send us the contents of ur .bashrc and .bash_profile


All times are GMT -5. The time now is 05:42 AM.