What is .login?

.login is a Unix shell script which is executed for a user every time that user logs in.

A standard .login file will set important environment variables such as $PATH and may also run commands, such as `fortune`.

The .login file will be stored in the users home directory.

.login is used by the C and TCSH shells. The Bourne, Korn, and Bash shells use a startup file called .profile instead.

The C and TCSH shells also use a startup file called .cshrc.

Also, the /etc/.login shared startup file will by executed by all C and TSCH shells.



Top 5 Free Networking Tools

Bookmark What is .login?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.