_Esam
asked on
What is .profile in UNIX? How do I set it up?
What is .profile in UNIX? How do I set it up?
I am using HP UX
Thax.
_Esam
I am using HP UX
Thax.
_Esam
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Any files that are prefixed with a . are "hidden" when you do a straight ls
use
ls -la
to see all files (including dot files)
if .profile doesn't exist in your home directory, simply create it with your preferred editor.
use
ls -la
to see all files (including dot files)
if .profile doesn't exist in your home directory, simply create it with your preferred editor.
ASKER
I think I need to use vi to create one...
How do I do that?
Which directory I go to first?
I know I can open the vi with just the vi command...
How do I create the .profile file and save it ... and in which directory I save it to???
Please let me know..
Thax..
_Esam
How do I do that?
Which directory I go to first?
I know I can open the vi with just the vi command...
How do I create the .profile file and save it ... and in which directory I save it to???
Please let me know..
Thax..
_Esam
To create a new .profile, just do
cd
vi .profile
cd
vi .profile
Is this a homework question???
Why don't you as your system admin?
I doubt one actually working with HP-UX does not know where to stick .profile.
Why don't you as your system admin?
I doubt one actually working with HP-UX does not know where to stick .profile.
ASKER
>Is this a homework question???
No, it's not.
And, I don't like this kind of discouraging interjections!!!
>I doubt one actually working with HP-UX does not know where to stick .profile.
Well, you are wrong! and this is not the proper way to answer some question.
No, it's not.
And, I don't like this kind of discouraging interjections!!!
>I doubt one actually working with HP-UX does not know where to stick .profile.
Well, you are wrong! and this is not the proper way to answer some question.
Have you contacted your system administrator regarding setting environment ???
ASKER
I am using HP UX with ksh I think (perdon my ignorace....)
How do I find this .profile file and edit it??
When I do an ls in my home directory,,, I do not see any .profile file..
Let me know..
Thax.
_Esam