The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ksh and .profile JamesByars Shell Programming and Scripting 9 02-24-2008 12:09 AM
Where can I read about the difference between "..profile" and ".profile" zorrokan UNIX for Dummies Questions & Answers 2 09-04-2007 10:35 PM
Difference between .profile and .~/.profile maneesh mehta SCO 3 12-14-2005 01:35 AM
changed .profile but didnt ./.profile, yet reflected changes yls177 UNIX for Dummies Questions & Answers 4 12-05-2002 08:21 AM
why i have local.profile, local.cshrc,local.login instead of .profile, .login ? abidmalik UNIX for Dummies Questions & Answers 5 08-26-2002 10:47 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-10-2002
Registered User
 

Join Date: Jan 2002
Posts: 13
Unhappy .profile

I installed Red Hat 7.1.

I found that .profile is not geting executed for any user.
I checked the location of .profile . It is in home directory.

What may be the reason.

Thank you in advance!!!
Forum Sponsor
  #2  
Old 12-11-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Is the .profile in each home directory of each user?

Example:
account home directory
joeuser /home/joeuser
doeuser /home/doeuser

Each /home/xxxuser should have a .profile - each .profile should be owned by the xxxuser
  #3  
Old 12-12-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
What shell are they using?
If it's /bin/bash, then the profile is "$HOME/.bash_profile". There's also a .bashrc.
/bin/tcsh uses a different one, etc. Check the man page for each shell to see what files it needs.
  #4  
Old 12-15-2002
Registered User
 

Join Date: Jan 2002
Posts: 13
Thumbs up

Thak you for your valuable suggestion.

The file should be .bash_profile
It is getting executed.

J1yant
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0