From owner-freebsd-questions@FreeBSD.ORG Fri Mar 25 23:41:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D653016A4CE for ; Fri, 25 Mar 2005 23:41:55 +0000 (GMT) Received: from av9-1-sn1.fre.skanova.net (av9-1-sn1.fre.skanova.net [81.228.11.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBAA143D1F for ; Fri, 25 Mar 2005 23:41:54 +0000 (GMT) (envelope-from ertr1013@student.uu.se) Received: by av9-1-sn1.fre.skanova.net (Postfix, from userid 502) id 5F3E337E4F; Sat, 26 Mar 2005 00:41:53 +0100 (CET) Received: from smtp2-2-sn2.hy.skanova.net (smtp2-2-sn2.hy.skanova.net [81.228.8.178]) by av9-1-sn1.fre.skanova.net (Postfix) with ESMTP id 4C1C237E4D for ; Sat, 26 Mar 2005 00:41:53 +0100 (CET) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by smtp2-2-sn2.hy.skanova.net (Postfix) with SMTP id 1B13F37E43 for ; Sat, 26 Mar 2005 00:41:52 +0100 (CET) Received: (qmail 12870 invoked by uid 1001); 25 Mar 2005 23:41:52 -0000 Date: Sat, 26 Mar 2005 00:41:52 +0100 From: Erik Trulsson To: Gert Cuykens Message-ID: <20050325234152.GA12816@falcon.midgard.homeip.net> Mail-Followup-To: Gert Cuykens , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i cc: freebsd-questions@freebsd.org Subject: Re: .cshrc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 23:41:56 -0000 On Sat, Mar 26, 2005 at 12:32:59AM +0100, Gert Cuykens wrote: > This is the shell config file right ? .cshrc is *a* shell config file. To be more precise it is the file that csh/tcsh (usually) reads in when started. (For details on exactly what files is read at startup by this shell read the csh(1) manpage.) Other shells read other files. (sh looks at .profile, zsh uses zshenv/zlogin/zshrc, etc.) Read the manpage for each shell to find out all the messy details. > I created a new user and put a .cshrc in his home directory but > nothing happens ? Why should anything happen? What did you expect to happen? > > FX-53# pw user show gert > gert:*:1001:0::0:0:gert:/usr/home/gert:/bin/sh > > FX-53# pwd > /usr/home/gert > > FX-53# ls -all > total 609272 > drwxr-xr-x 3 gert wheel 512 Mar 26 00:18 . > drwxr-xr-- 3 root wheel 512 Mar 19 22:44 .. > -rw-r--r-- 1 gert wheel 802 Mar 25 13:12 .cshrc > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Erik Trulsson ertr1013@student.uu.se