LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-10-2003, 09:57 PM   #1
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
bash_profile inq


Hello everybody,

I need to add the following line to /root/.bash_profile
Add /usr/local/ssl/bin to the PATH variable.
-side note.. following inst. to insalling openssl...

currently what i have in /root/bash_profile
_____________________________
# .bash_profile
#get the aliases and functons
if [ -f ~/bashrc ]; then
.~/.bashrc
fi

msg n
________________________
the inst. wans this added to the end of the file /usr/local/ssl
...but from the research i been doing has it between "then" and "fi"
whats the correct stes to adding the above to the bash_profile
 
Old 12-10-2003, 10:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Since all .bash_profile does is to check and
run .bashrc I'd suggest you put the modified
path also into .bashrc

Anywhere (on a line by itself, that is) in .bashrc
do
export PATH=$PATH:/usr/local/ssl/bin


Cheers,
Tink
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
enable port inq Robin01 Linux - Newbie 4 01-01-2004 02:57 PM
postfix inq. Robin01 Linux - Newbie 1 12-27-2003 08:25 PM
mysql installation inq Robin01 Linux - Newbie 1 10-06-2003 11:27 PM
apache iptables inq. Robin01 Linux - Newbie 1 10-04-2003 12:53 PM
ftp configuration and inq. Robin01 Linux - Newbie 2 09-01-2003 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:28 AM.

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