.login is only used in login shells.

for example, if you were using csh,

.cshrc and .login would be run (in that order, I think)
for a login session.

only .cshrc would be run for a non-login session.


Bryan


> Well maybe a file called .login can be used, however normaly a file called
> .profile or .bash_login is used in a users home directory. To put things
> into perspective, slackare uses .profile and redhat has .bash_login as
> defaults. As to other systems i have not looked, so its possable they use
> .login, anyway, take a look at "man sh" "man bash" "man env".
> 
> If you were to give us a hint of just what you want to do, then i am sure
> there will be some folks here who could give you examples of HOWTO achive
> your goals.
> 

Reply via email to