Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 1999 10:54:50 -0700 (PDT)
From:      Doug <Doug@gorean.org>
To:        "J. M. Albores" <jote@bigfoot.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbie: The "PS1" environment variable & others.
Message-ID:  <Pine.BSF.4.05.9907131050400.15397-100000@dt054n86.san.rr.com>
In-Reply-To: <37896B5E.AD390164@bigfoot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9907131050400.15397-100000>