Home » Infrastructure » Linux » NEWBIE: .bash_profile question
NEWBIE: .bash_profile question [message #268037] Mon, 17 September 2007 05:07 Go to next message
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 Smile

Re: NEWBIE: .bash_profile question [message #268070 is a reply to message #268037] Mon, 17 September 2007 07:47 Go to previous messageGo to next message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
You can create it. Location is ~oracle/.bash_profile
Re: NEWBIE: .bash_profile question [message #268075 is a reply to message #268070] Mon, 17 September 2007 08:05 Go to previous messageGo to next message
hristo
Messages: 258
Registered: May 2007
Senior Member
ok, thanks!
Re: NEWBIE: .bash_profile question [message #341679 is a reply to message #268075] Tue, 19 August 2008 23:22 Go to previous messageGo to next message
asadkhan_2
Messages: 36
Registered: January 2008
Member
i have the same problem also and new to linux

where can i find this file for editing vi.bash_profile

Thanks
Re: NEWBIE: .bash_profile question [message #342275 is a reply to message #341679] Thu, 21 August 2008 19:24 Go to previous message
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.
Previous Topic: installation of Oracle patch p5337014_10203_LINUX.zip on linux.
Next Topic: Oracle Database 10g installation on Linux Red hat 4
Goto Forum:
  


Current Time: Fri Mar 29 07:36:45 CDT 2024