If the file .profile file exists in your home directory, it is used when you log into a computer to:
).This file is also used whenever you log into a computer via ssh (in addition to logging into the console).
Some shells use different filenames. For example, C-shell uses the file .login.