From owner-freebsd-questions@FreeBSD.ORG Fri Mar 25 23:55:18 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 904A216A4CE for ; Fri, 25 Mar 2005 23:55:18 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0330243D39 for ; Fri, 25 Mar 2005 23:55:18 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id f1so1284520rne for ; Fri, 25 Mar 2005 15:55:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ko8MdgWnoQLZbN2JWnSgZ/HBWOUjrFsKt2vB9LMb1zx0yXlzXW4ziYw7vkzDkJN6O3k6OH3aRJ6PZ6FZ6v4dwZme6stqyDh6qjaAWm19VcD8RHxFatk95qxSBoNurSpUUeTiRvIQ3QRAkjSuKOa7kREfF1xrriT4hVatAA8pys0= Received: by 10.38.165.79 with SMTP id n79mr2920511rne; Fri, 25 Mar 2005 15:55:17 -0800 (PST) Received: by 10.38.74.23 with HTTP; Fri, 25 Mar 2005 15:55:17 -0800 (PST) Message-ID: Date: Sat, 26 Mar 2005 00:55:17 +0100 From: Gert Cuykens To: Gert Cuykens , freebsd-questions@freebsd.org In-Reply-To: <20050325234152.GA12816@falcon.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050325234152.GA12816@falcon.midgard.homeip.net> Subject: Re: .cshrc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 23:55:18 -0000 > > 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? This :) FX-53# cat .cshrc # $FreeBSD: src/etc/root/dot.cshrc,v 1.29 2004/04/01 19:28:00 krion Exp $ # # .cshrc - csh resource script, read at beginning of execution by each shell # # see also csh(1), environ(7). # alias h history 25 alias j jobs -l alias la ls -a alias lf ls -FA alias ll ls -lA # A righteous umask umask 22 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin) setenv EDITOR joe setenv PAGER more setenv BLOCKSIZE K if ($?prompt) then # An interactive shell -- set some stuff up set prompt = "`/bin/hostname -s`# " set filec set history = 100 set savehist = 100 set mail = (/var/mail/$USER) if ( $?tcsh ) then bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward endif endif FX-53# So the question is why does root uses csh shell and the a user a sh shell. What brings me to the following question , What is the best shell to use :)