Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Terminal settings/.profile

Terminal settings/.profile
Thread Tools
Professional Poster
Join Date: Mar 2002
Location: Boston
Status: Offline
Reply With Quote
Feb 26, 2006, 07:00 AM
 
Does the Terminal use a .profile, if so where does it exist.
Spotlight in its great usefulness does not scan all of the drive (library, etc, bin) and I'd like to start learning more about unix.

I'm going through the Unix Powertools and I'm at the section about the prompt. I can change it at the command line but I'd like to have it set permently when ever I invoke a new shell.
     
Junior Member
Join Date: Oct 2005
Location: London, UK
Status: Offline
Reply With Quote
Feb 26, 2006, 08:31 AM
 
Just create an empty .profile file in your home directory with a text editor (e.g. nano .profile). One doesn't exist by default - terminal.app just reads the configuration files in /etc, which you shouldn't need to mess with.
     
Maflynn  (op)
Professional Poster
Join Date: Mar 2002
Location: Boston
Status: Offline
Reply With Quote
Feb 26, 2006, 09:58 AM
 
Cool, thanks, I wasn't sure if the .profile existed in an alternate location.
     
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status: Offline
Reply With Quote
Feb 26, 2006, 10:41 AM
 
Originally Posted by Maflynn
Cool, thanks, I wasn't sure if the .profile existed in an alternate location.
There exists a system-wide profile, /etc/profile, but yah, you should create your own .profile in your home directory because it will get processed after the system one does.
"In Nomine Patris, Et Fili, Et Spiritus Sancti"

     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:23 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2