- /etc/csh.cshrc Read first by every shell. ConvexOS,use/etc/cshrc and NeXTs use/etc/cshrc.std. A/UX, AMIX, Cray
and IRIX have no equivalent in csh(1), but read this file
in tcsh anyway.2.x does not have it either, but
tcsh reads /etc/.cshrc.(+)
- /etc/csh.login Read by login shells after /etc/csh.cshrc. ConvexOS, Stel-
lix and Intel use/etc/login, NeXTs use/etc/login.std,
Solaris 2.x uses /etc/.login and A/UX, AMIX, Cray and IRIX
use/etc/cshrc.
- ~/.tcshrc (+) Read by every shell after /etc/csh.cshrc or its equivalent.
- ~/.cshrc Read by every shell, if ~/.tcshrc doesn't exist, after
/etc/csh.cshrc or its equivalent. This manual uses
`~/.tcshrc' to mean `~/.tcshrc or, if ~/.tcshrc is not
found, ~/.cshrc'.
- ~/.history Read by login shells after ~/.tcshrc if savehist is set,
but see also histfile.
- ~/.login Read by login shells after ~/.tcshrc or ~/.history. The
shell may be compiled to read ~/.login before instead of
after ~/.tcshrc and ~/.history; see the version shell vari-
able.
- ~/.cshdirs (+) Read by login shells after ~/.login if savedirs is set, but
see also dirsfile.
- /etc/csh.logout Read by login shells at logout. ConvexOS, Stellix and
Intel use /etc/logout and NeXTs use /etc/logout.std. A/UX,
AMIX, Cray and IRIX have no equivalent in csh(1), but read
this file in tcsh anyway. Solaris 2.x does not have it
either, but tcsh reads /etc/.logout. (+)
- ~/.logout Read by login shells at logout after /etc/csh.logout or its
equivalent.
[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9910417/viewspace-1029101/
,如需转载,请注明出处,否则将追究法律责任。