LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-25-2002, 07:34 PM   #1
sleepwalker1.0
Member
 
Registered: Oct 2002
Distribution: mandrake 8.2
Posts: 41

Rep: Reputation: 15
Unhappy real short newbi question (bash)


I have some bash scripting before and just got my mandrake 8.2 back in my computer. I have a bin folder in my documents folder in the home dir to make it easy to test scripts. I dont think i have the PATH right. If i remember right, i need to modify the BASH.Profile and add the line...$PATH=PATH/HOME/DOCUMENTS/BIN

If this is right someone let me know if not can you point me in the right direction??
thanks
 
Old 10-25-2002, 07:50 PM   #2
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
try this

export PATH="$PATH:$HOME/documents/bin"

in the .bash_profile

Last edited by jhorvath; 10-25-2002 at 07:51 PM.
 
Old 10-26-2002, 04:06 AM   #3
sleepwalker1.0
Member
 
Registered: Oct 2002
Distribution: mandrake 8.2
Posts: 41

Original Poster
Rep: Reputation: 15
ahhh, thank you, I knew it was something like that but my tired mind would not let me see it. lol. I had done it several months ago, but for the life of me i could not remember the EXPORT part. thanks alot.
 
  


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
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
Loser Newbi question of the day konomi Fedora 3 04-07-2004 12:13 PM
mail forwarding in exim(Very newbi question) ImAnEwBiE Linux - Newbie 2 10-28-2003 09:24 PM
dual display question - real real newbie !! Jay_Dee007 Linux - Newbie 1 09-29-2003 08:33 AM
My first ever real bash script! charlie123 Programming 0 01-16-2003 04:55 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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