LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2009, 06:46 AM   #1
answerme
Member
 
Registered: Apr 2008
Posts: 94

Rep: Reputation: 24
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
 
Old 06-04-2009, 06:48 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Hi,

What is the command you're trying to run/execute?
 
Old 06-04-2009, 06:50 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Seems like you have a messed-up line in your .bashrc (or possibly .profile or .bash_profile.)
 
Old 06-04-2009, 07:46 AM   #4
answerme
Member
 
Registered: Apr 2008
Posts: 94

Original Poster
Rep: Reputation: 24
I run BASH command
Is there anyway to resolve it
 
Old 06-04-2009, 07:48 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
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).
 
Old 06-04-2009, 07:55 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
"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.
 
Old 06-04-2009, 08:35 AM   #7
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
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

Last edited by soleilarw; 06-18-2009 at 05:23 AM.
 
Old 06-04-2009, 08:55 AM   #8
tourniquet
LQ Newbie
 
Registered: Mar 2006
Location: New Delhi.India
Distribution: open suse 11.0
Posts: 4

Rep: Reputation: 0
i second repo

send us the contents of ur .bashrc and .bash_profile
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash history delete command from bash itself ashishag Linux - Software 6 05-02-2010 04:39 AM
"service __ restart" bash command isn't working case1984 Linux - Newbie 9 04-10-2008 03:35 PM
bash command is Not working in "root" jchun Linux - Newbie 2 10-26-2004 02:27 PM
"linuxconf" command not working in bash!! sharathkv Linux - Newbie 2 07-29-2003 12:00 AM
same find command not working in bash script, quotes? QuakerOatz Linux - Software 1 07-14-2003 01:04 PM


All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration