1832455 Members
3427 Online
110043 Solutions
New Discussion

Re: .profile not working

 
Waqar Razi
Regular Advisor

.profile not working

I have created a test server using ignite backup, but the .profile of one of the users is not working. I even copied the .profile of one of the users in the home directory, but still its not working. Can some one give me some clue.
9 REPLIES 9
Tim Nelson
Honored Contributor

Re: .profile not working

Need something more than "not working"

What is it trying to do?

What error are you getting?

What process/procedure are you using that you get or do not get the "not working" ?

Waqar Razi
Regular Advisor

Re: .profile not working

Thats the .profile of oracle.

Waqar Razi
Regular Advisor

Re: .profile not working

By not working, it is not picking up the .profile file for environment settings
Torsten.
Acclaimed Contributor

Re: .profile not working

What shell are you using? csh?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: .profile not working

Hi Wagar:

> it is not picking up the .profile file for environment settings

When? When you login? When you attempt to use it in a crontask?

Regards!

...JRF...
Waqar Razi
Regular Advisor

Re: .profile not working

yes csh
James R. Ferguson
Acclaimed Contributor

Re: .profile not working

Hi Wagar:

> yes csh

Well, then, Torsten nailed it! The '.profile' is only used by the Posix or Korn shell. The idiotic C-shell uses '.cshrc'.

You should read:

http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: .profile not working

just like expected ... JRF gave the advise already to you.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Suraj K Sankari
Honored Contributor

Re: .profile not working

Hi,

If you are login into box with bash or posix shell then your .profile is executed and if you are using c shell then your .cshrc is executed.
So copy all the thing into your .cshrc then check

Suraj