LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05:46 AM   #1
answerme
Member
 
Registered: Apr 2008
Posts: 97

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, 05:48 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

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

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

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

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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, 06:55 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
"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, 07: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 04:23 AM.
 
Old 06-04-2009, 07: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



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 03:39 AM
"service __ restart" bash command isn't working case1984 Linux - Newbie 9 04-10-2008 02:35 PM
bash command is Not working in "root" jchun Linux - Newbie 2 10-26-2004 01:27 PM
"linuxconf" command not working in bash!! sharathkv Linux - Newbie 2 07-28-2003 11:00 PM
same find command not working in bash script, quotes? QuakerOatz Linux - Software 1 07-14-2003 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:06 PM.

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
Open Source Consulting | Domain Registration