Executing profile from any directory other than $HOME | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Executing profile from any directory other than $HOME

UNIX for Dummies Questions & Answers


Tags
aix, home directory, profile, unix

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-07-2013
SKhan SKhan is offline
Registered User
 
Join Date: Feb 2013
Last Activity: 9 October 2013, 6:31 AM EDT
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
IBM Executing profile from any directory other than $HOME

Is there a way to run the profile which is not in $HOME directory? then whats the command for that?

Last edited by Scott; 02-07-2013 at 09:25 AM.. Reason: Nothing to do with AIX. Thread moved
Sponsored Links
    #2  
Old 02-07-2013
-=XrAy=- -=XrAy=- is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 23 September 2014, 10:46 AM EDT
Location: D:\Rheinland-Pfalz\Koblenz
Posts: 93
Thanks: 4
Thanked 19 Times in 17 Posts
You can parse ("run") a profile with

Code:
. /path_to_profile/.profile

but you need read permission on this file!
The Following User Says Thank You to -=XrAy=- For This Useful Post:
SKhan (02-07-2013)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[Solved] $HOME/.profile momhef4 UNIX for Dummies Questions & Answers 4 10-19-2012 06:04 AM
setting home as lin in user profile mrodrig UNIX for Dummies Questions & Answers 1 07-06-2009 11:55 PM
restrict one user to see only his home directory in his profile aboorkuma UNIX for Dummies Questions & Answers 6 02-25-2009 10:45 AM
executing .profile with ssh rein UNIX for Advanced & Expert Users 5 12-21-2004 10:43 AM
executing .profile jalburger UNIX for Dummies Questions & Answers 6 11-13-2002 10:34 AM



All times are GMT -4. The time now is 09:25 AM.