NEWBIE: .bash_profile question [message #268037] |
Mon, 17 September 2007 05:07  |
hristo
Messages: 258 Registered: May 2007
|
Senior Member |
|
|
Hi!
Im about to install 10g on my Suse10.2 computer.
I follow the installations guide for x86 that I got from Oracles website.
Im almost ready to begin the installation. But the guide tells me to :
*************************************************************'
6. Open the oracle user’s shell startup file in any text editor:
On Red Hat Linux, .bash_profile is the user startup file
Note:
for the Bash shell.
Bourne shell (sh), Bash shell (bash), or Korn shell (ksh):
■
$ vi .bash_profile
Enter or edit the following line, specifying a value of 022 for the default f
7. creation mask:
umask 022
8. If the ORACLE_SID, ORACLE_HOME, or ORACLE_BASE environment
is set in the file, then remove the appropriate lines from the file.
9. Save the file, and exit from the editor.
10. To run the shell startup script, enter one of the following commands:
Bash shell:
■
$ . ./.bash_profile
*************************************************************
So, how do I find the .bash_profile? Or should I just create it and where should it be located? Should I create it as the Oracle user? Can I run it as Oracle?
Plz give a newbie some advice
|
|
|
|
|
|
Re: NEWBIE: .bash_profile question [message #342275 is a reply to message #341679] |
Thu, 21 August 2008 19:24  |
ehegagoka
Messages: 493 Registered: July 2005
|
Senior Member |
|
|
vi - the editor, you could just use any editor if you have your X session UP.
.bash_profile - the config file of your shell (in this case bash), this get's executed/read when you login. it's usually on your home directory. The "." in front of the file means it's hidden so you have to do a "ls -a" to see it i think.
|
|
|