≡ Menu

What is .profile in UNIX?

.profile is the shell startup file, like autoexec.bat is the startup file for DOS users; .profile will get executed whenever you login. It is used to set environment variables and shell options such as $PATH

In ksh (Unix Korn shell) .profile will be in each home directory of each user.

For example :

{ 0 comments… add one }

Leave a Comment