Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Problems with PATH
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Tue Nov 01, 2005 11:29 am    Post subject: [Solved] Problems with PATH Reply with quote

Hi. I think I made a mess with the PATH. I was trying to add the kde bin directory the the path but happened that when I was writing, some messages appeared in the konsole (system messages), and I wrote as a result:

Code:
export PATH=$PA


now I cannot use commands like ls, rm etc... What could I do? Is there a way to restore previous situation?
Thanks for any answer.


Last edited by Luc484 on Sun Nov 06, 2005 11:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Tue Nov 01, 2005 11:43 am    Post subject: Reply with quote

Code:
export $PATH=/usr/bin/
? and so on ...
Have you tried it ? ,

Try running just
Code:
$PATH
to see where it points at
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Nov 01, 2005 1:27 pm    Post subject: Reply with quote

Just do the following:

Code:
. /etc/profile
. ~/.bashrc

_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Tue Nov 01, 2005 1:52 pm    Post subject: Reply with quote

Ah, ok, now it's ok. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum