UNIX command data
File type: Source code and script file
A C shell login startup file, the .login file contains commands that C shell (csh) runs when a user starts a login session on Unix.
File type category:
Source code and script file
Date updated: November 22, 2026
The .login file is a user-specific C shell configuration file, usually kept in the user's home directory. C shell runs the commands in it when the user starts a login session; these commands can set up the user's environment.
The file is plain text containing shell commands, rather than a standalone program. It is part of the traditional Unix C shell setup and remains relevant on systems where C shell is used. GNU Emacs can edit it.
Open the .login file in GNU Emacs or another text editor to view or edit its commands. On Unix, C shell reads it when starting a login session.
No direct conversion is generally needed: the .login file is a text-based shell configuration file, not an interchange format. If you need to reuse its settings elsewhere, copy or adapt the commands for the target shell manually.