From owner-freebsd-questions Mon Apr 22 4:40:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from slate.dublin.wbtsystems.com (slate.dublin.wbtsystems.com [193.120.231.12]) by hub.freebsd.org (Postfix) with ESMTP id 741FC37B404 for ; Mon, 22 Apr 2002 04:40:30 -0700 (PDT) Received: from spiral (spiral.dublin.wbtsystems.com [193.120.231.190]) (authenticated bits=0) by slate.dublin.wbtsystems.com (8.12.2/8.12.2) with ESMTP id g3MBZGHp011770; Mon, 22 Apr 2002 12:35:16 +0100 (IST) From: "Barry Byrne" To: "Ali Nasseh" , Subject: RE: c shell Date: Mon, 22 Apr 2002 12:35:15 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020422111006.83590.qmail@web10302.mail.yahoo.com> Importance: Normal X-Scanned-By: MIMEDefang 2.6 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ali: Be default on FreeBSD, root uses the C shell. An ordinary user can typically change his default shell using the chsh command. See the man page for more details. The prompt shown will not necessarily tell you what shell you are using as it can be changed in most shells. Typically, # is used for root in any shell, % is used in csh and similar shells such as tcsh, $ is used in the Bourne and similar shells such as bash. You can also typically create a new temporary instance of a shell by typing the shell name, assuming it is in your path. You should be able to see your default shell by typing something like: finger . To see what shell you are currently running, something like this could work: ps | grep `echo $$` If you like the C shell, you might want to investiate tcsh which has similar systax but many more features. This is not installed by default on BSD, but should be available in the packages/ports. For Bourne shell replacments, you might want to investigate bash, ksh or zsh. All have much more features while remaining broadly compatible with the Bourne shell. Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ali Nasseh > Sent: 22 April 2002 12:10 > To: questions@FreeBSD.ORG > Subject: c shell > > > hi, > where is my c shell? i can't see that, but # for > superuser and $ for ordinary users. > please let me know if i can see the % prompt and take > advantage of the "c shell". > ( if i can see the % prompt, it means that i'm using > the c shell? ) > > --thanx a lot > --a. nasseh > > __________________________________________________ > Do You Yahoo!? > Yahoo! Games - play chess, backgammon, pool and more > http://games.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message