From owner-freebsd-questions Tue Jul 13 10:55:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt054n86.san.rr.com (dt054n86.san.rr.com [24.30.152.134]) by hub.freebsd.org (Postfix) with ESMTP id DECE414DDF for ; Tue, 13 Jul 1999 10:55:12 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from localhost (doug@localhost) by dt054n86.san.rr.com (8.8.8/8.8.8) with ESMTP id KAA15493; Tue, 13 Jul 1999 10:54:50 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Tue, 13 Jul 1999 10:54:50 -0700 (PDT) From: Doug X-Sender: doug@dt054n86.san.rr.com To: "J. M. Albores" Cc: freebsd-questions@freebsd.org Subject: Re: Newbie: The "PS1" environment variable & others. In-Reply-To: <37896B5E.AD390164@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 12 Jul 1999, J. M. Albores wrote: > First of all, thanks for you answer, Greg. > Well... In fact I had found the "chsh" command browsing man pages and I > was using /bin/sh, as I didn't find bash-VER.tgz in my CD-ROM even I > didn't do an intensive search, and I am not used to csh. It should be on the ports/packages CD. You should definitely become familiar with the ports. :) You can install them without the CD at all. Check the freebsd home page for more info. > But -if it's possible in this list- I would like to ask other question: > Does C shell have any advantage over bash or sh? Only if you've already learned csh. Most new unix users find sh or bash easier to learn and use. (Yes, I realize that diehard *csh users willl disagree, but you're in the minority.) > I was surprised that > (after a short experience with Linux) csh was the default shell for root > after FreeBSD installation! > Which is convenient for which purpose? Greg already explained that to you, did you not understand his response? > In my machine, every user has his own .profile at ~/ by default. > If I log as root, my /.profile is the same of /root/.profile. If I edit > one file, the other changes too. And /.profile is NOT a symlink to > /root/.profile. (?!) It has just "common" file permissions. I don't > understand this. It's not a soft link, it's a hard link. Do this: ls -li /.profile /root/.profile If you don't understand what you're seeing, man ls. Good luck, Doug -- On account of being a democracy and run by the people, we are the only nation in the world that has to keep a government four years, no matter what it does. -- Will Rogers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message