Date: Sat, 6 Apr 2002 23:10:29 +0200 (CEST) From: "Jesper Wallin" <z3l3zt@phucking.kicks-ass.org> To: <dillama1@excite.com> Cc: <newbies@freebsd.org> Subject: Re: Difference between .cshrc and .profiles Message-ID: <2182.213.112.58.75.1018127429.squirrel@phucking.kicks-ass.org> In-Reply-To: <20020406202704.36C06B6B6@xmxpita.excite.com> References: <20020406202704.36C06B6B6@xmxpita.excite.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello.. Almost in all cases are all files starting with a "." and ending in "rc" runned when you start the specified program.. So .cshrc is runned when you start csh shell, .bashrc is runned when you start the bash shell.. The .profile is often a copy of the /etc/profile and the /etc/profile is runned each time you login which mean, even if you're running bash, sh, csh, etc.. /etc/profile will be runned.. Because you're not running the system as root all the time, you're not allowed to change the /etc/profile.. Therefor you will get a copy if it named .profile which make it able to edit it so it fit you.. :) Jesper aka Z3l3zT > > Can anyone explain the difference between .cshrc and .profile? They are > so similar. > > > > ------------------------------------------------ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2182.213.112.58.75.1018127429.squirrel>