Encyclopedia

.cshrc

.cshrc

(operating system)
(C Shell run commands) A C Shell startup configuration file. This file is found in a user's home directory and can contain shell and other commands to set variables, define aliases, and perform any other initialisation which should happen for every shell (as opposed to .login which is only run for a login shell).

Compare AUTOEXEC.BAT on MS-DOS.

See also rc.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
Mentioned in
References in periodicals archive
You login to a UNIX system and the shell executes files called .login and .cshrc, or something similar depending on the version of UNIX.
Such an approach would have many advantages; for example, we would no longer require a plethora of ad hoc mechanisms, such as .xsession, .Xrdb, .login, .cshrc, and autoexec.bat to recreate some of the state of the user's environment, since all of the dynamic state would be captured in the snapshot.
Startup files, such as .cshrc, are no longer needed, since the environment they attempt to recreate is persistent.
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.