From owner-freebsd-questions Wed Oct 15 11:14:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA09506 for questions-outgoing; Wed, 15 Oct 1997 11:14:35 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from horton.iaces.com (root@horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA09500 for ; Wed, 15 Oct 1997 11:14:33 -0700 (PDT) (envelope-from proot@iaces.com) Received: from fievel (client1.iaces.com [204.147.87.119]) by horton.iaces.com (8.8.7/8.8.7) with ESMTP id NAA20761; Wed, 15 Oct 1997 13:13:50 -0500 (CDT) Message-ID: <3445081C.7861E5EA@iaces.com> Date: Wed, 15 Oct 1997 13:14:52 -0500 From: Paul Root X-Mailer: Mozilla 4.0 [en] (WinNT; I) MIME-Version: 1.0 To: Tom Bartol CC: Mariusz Potocki , Justin Muir , freebsd-questions@FreeBSD.ORG Subject: Re: lean mean kernel with sound!! + dumb questions X-Priority: 3 (Normal) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Tom Bartol wrote: > > > > > At 03:49 PM 10/15/97 +0200, Mariusz Potocki wrote: > > > >>ps- how do I distinguish between types files etc since I can't seem to > > >>find extensions? > > The file command is useful, as you have already been told, but I prefer to > use csh and especially tcsh (you'll have to install tcsh as a port or > package) as my shell because I can easily alias the ls command as follows: > > alias ls ls -F for sh, ksh and bash. alias lf="ls -CF" > > To set your prompt in csh you can put the following in your .cshrc: > > if ( $?prompt ) then > alias cd 'cd \!*;s_prompt' > alias s_prompt 'set prompt = "`hostname` [$cwd] -> "' > s_prompt > endif > > or more conveniently if you are using tcsh: > > if ($shell != /bin/csh) then > set prompt = "%m [%/] -%# " > endif And for bash: export PS1="\m [\w] \?# " is the same thing. > Hope this doesn't confuse you even more :-) > > Tom