Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-14-2012, 03:45 AM   #1
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:

I get the following result:

[1] 1690

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

[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:
Old 04-14-2012, 03:50 AM   #2
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 :-(


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

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

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