Sunday, August 2, 2009

How do i create .profile in UNIX?

I'm new to UNIX and i found that i dont have the .profile file.

How do i create .profile in UNIX?
It is just a text file containing shell script commands. Create it with any text editor (such as vim or emacs).
Reply:to add to the guy above





or pico
Reply:it's a text file. there are multiple ways to do it. If you know VI then you already know the answer. :) otherwise just do aither:





touch .profile





or





cat /dev/null %26gt; .profile





it'll create an empty file for you that you can later edit with any text editor.


No comments:

Post a Comment