![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to get to my .profile?
Hi,
When I logon to UNIX I go to the root directory. I don't have an assigned user directory. I need to get to my .profile so that I can change things like command prompt. How do I do this? By the way I am using SUN Solaris Thanks. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
This will create and set your home directory.
usermod -d <directory> -m <username> Then copy the /etc/skel/local.profile to your home directory and rename to .profile . I think that should do it... Last edited by PaulC; 10-18-2004 at 01:31 AM. |
|
#3
|
|||
|
|||
|
Thank you much. I'll give it a try.
|
|
#4
|
||||
|
||||
|
Quote:
First, check to see that you have a .profile. You more than likely already do. You will find it in your home directory. Since it is a hidden file, you [obviously] wont be able to see it with a normal ls listing. Try ls -a. To change your prompt: export PS1='$PWD--> ' |
||||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|