LinuxQuestions.org
Register a domain and help support LQ
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 04-14-2012, 04:45 AM   #1
korena
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Rep: Reputation: Disabled
Reinstalled python causing echo command problems


Hi folks,
So Im having this problem with echo command, here's the story:

The problem started when I un-installed PYTHON2.7 and reinstalled it again using rpm.
so now, when I try to use the echo command in bash like:

Code:
$echo &PYTHONPATH
I get the following result:

Code:
[1] 1690

bash: PYTHONPATH: command not found...
[1]+ Done                       echo
and now, if I do:
Code:
$echo &PATH
I get:

Code:
[1] 2481

bash: PATH: command not found...
[1]+ Done                       echo
So, I believe the problem is with python, because once I use echo with &PYTHONPATH , bash never goes back to executing echo &PATH correctly. However, if $echo &PATH is used before $echo &PYTHONPATH, then it displays the directory contents of &PATH as expected.
Any suggestions on how to fix this problem ?

Im using fedora16 on an HP mini with intel atom cpu N450 @ 1.66GHz x2
kernel linux 3.3.0-4.fc16.i686
Gnome 3.2.1

latest installed python:
python-2.7.2-5.2.fc16.i686.rpm
 
Old 04-14-2012, 04:50 AM   #2
korena
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
''

it appears I got my '$'s and '&'s mixed up ... now that's embarrassing ! there's actually no problem ... I wish I could delete this post :-(
 
  


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
Echo Command Dougj75 Linux - Newbie 2 02-28-2012 08:09 PM
How do I make python programs run without entering the command python? trist007 Programming 5 03-22-2009 09:21 PM
Including python module causing script to abort? rose_bud4201 Programming 3 06-22-2007 12:31 PM
Prevent Terminal Echo Using Python (for Passwords) taylor_venable Programming 4 07-06-2005 12:52 AM
reinstalled floppy problems. I/O error. paz_rax Linux - Hardware 2 09-07-2003 10:36 PM


All times are GMT -5. The time now is 12:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration