What is .profile in unix ?

  1. What is .profile in unix ?
  2. What are they used for ?

It's a shell initialisation file. Check out the manual page for your shell for more information on it's initialisation files.

Cheers
ZB

Since you perhas know Mickeysofts graphical interrupt handler: it is a sort of "autoexec.bat", but not for the machine but for every user.

It is executed when the user logs on and sets certain settings for him automatically.

bakunin