LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-13-2003, 10:51 AM   #1
gargamel237
Member
 
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52

Rep: Reputation: 15
modifying $PATH in bashrc


what do I have to add to .bashrc in order to have ~/bin in my $PATH. I thought it was $PATH=$PATH:$HOME/bin but that doesn't work.
 
Old 08-13-2003, 11:18 AM   #2
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
kill that $ sign in front of the first PATH
 
Old 08-13-2003, 11:19 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
As far as I know that should work, have you tried maybe '~/bin' or the full path to it, '/home/user/bin'

And yes, I just caught that as well with the $ sign as jqcaducifer mentioned to remove..
 
Old 08-13-2003, 11:31 AM   #4
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
i didn't quite understand what trickykid said, but writing $test=abc with the value of test being "def" would be read by bash as simply typing def=abc into the commandline as a command, and therefore

bash: def=abc: command not found
 
Old 08-13-2003, 12:10 PM   #5
gargamel237
Member
 
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52

Original Poster
Rep: Reputation: 15
Fixed. Thanks. It was the $ at the front.
 
  


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
how to implement .bashrc path on KVim??? Mathsniper Linux - General 0 04-02-2005 02:13 AM
Sarge, KDE 3.2.3: modifying /etc/profile doesn't change path dezert_fox Debian 5 01-11-2005 10:22 PM
Modifying the PATH environment variable brunnopessoa Linux - Newbie 11 11-03-2004 10:23 PM
Modifying system-wide include path in Fedora Ross Clement Fedora 0 02-21-2004 03:14 AM
Editing path permanently...but I don't have .bashrc or .profile shock_ez Linux - Newbie 6 07-02-2003 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:55 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