.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.
Comments (1)
Leave a Reply
- .profile (Shell Script)
.profile is a Unix shell script which is executed for a user every time that user logs in. A standard .profile will set important environment variables such as $PATH and may also run commands, such as `fortune`. The .profile file will be stored in the users home directory. .profile is used by the Bourne, Korn, [...]...
- Unix Shell
A Unix shell is the program which reads user input from the command line and executes actions based upon that input. There are two general families of Unix shells, the Bourne family and the C family. The Bourne shell was the original Unix shell. The C shell was the first competing Unix shell. tcsh is [...]...
- How to Tell what Shell You’re Using
Whatever operating system you choose, a shell will be an important part of it. A shell is usually defined as software that provides the end user with an interface. In technical terms, the shell is the part of the software that gives you access to the kernel. The term shell is used freely and can [...]...
- How to Change Your Shell
Under some version of Unix, users can use the `chsh` or `passwd -e` commands to edit the shell configured for their account in the passwd file. Under other Unix variants, only the root user can use these commands. Your shell is defined in the last field of the password file. If you have “root” privileges, you [...]...
- Restricted Shells
A restricted shell is a Unix shell that has been modified to allow the Unix shell user to do fewer things than a normal shell would allow him to do. It may allow the user to run only certain programs. It may stop the user from changing directories. Many sites run their own restricted shells [...]...





Keep up the great work of providing us with useful information.