LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-13-2003, 02:31 PM   #1
blanderson
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Unhappy Installing MySQL, can't find .bash_profile to edit!


I'm installing snort on my RedHat 9 box. In the installation process I am to install MySQL. In the directions it reads: In /root edit the .bash_profile file so the PATH line to read as follows: PATH=$PATH...... But I don't have a .bash_profile anywhere?!? Help Please!
 
Old 10-13-2003, 02:34 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
It could also be called .bashrc

If you don't have either, you can either create one and edit accordingly or just edit the global bash startup file, in /etc/profile
 
Old 10-13-2003, 02:36 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

I would be very surprised if it isn't there - by default files beginning with a "." are hidden. Try:
ls -a /root/.b*

or:
cat /root/.bash_profile
 
Old 10-13-2003, 02:52 PM   #4
luxitan
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
if you don't have it make one, worked with me
 
  


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
Is there a script to auto find installed distros & edit Grub clintbrot Linux - Software 3 06-16-2005 11:15 PM
Can't find edit grub.conf when im in command line. izac5 Linux - Newbie 7 11-16-2004 05:24 PM
edit .bash_profile, trying to add variable, didn't work feetyouwell Linux - Software 4 08-29-2004 05:14 PM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 03:43 PM
phpmyadmin (or regular mysql) batch column edit? fibbi Linux - Software 1 07-10-2004 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration