Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2001 19:35:16 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Dan Busarow <dan@dpcsys.com>
Cc:        questions@freebsd.org, gorfgar@netzero.net
Subject:   Re: Considering FreeBSD
Message-ID:  <15008.19028.544566.428659@guru.mired.org>
In-Reply-To: <20679100@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Busarow <dan@dpcsys.com> types:
> On Mar 2, Jesse O. Glidden wrote:
> >I am having trouble making things work on my Linux box like they do on the 
> >schools Solaris box.  For instance when I do something simple like
> >ls -d
> >the only thing I get is
> >.
> Nothing wrong with that.  Does the same thing on FreeBSD and on ...
> Solaris

And if linux does something different than that, I'd say linux is
broken. The default argument for ls is ".". The "-d" option means to
simply list directories, not list the things inside them. So "ls -d"
should just print ".".

> >And when I try to add aliases to my .profile in my home directory, nothing 
> >works!
> Probably because Linux defaults to bash which uses .bash_profile, not
> .profile

Actually, bash checks for a number of things - starting with
.bash_profile, then .bash_login, and finally .profile. Without knowing
what you added, and what shell you're using on both platforms, it's
hard to say why it's not working.

> >I have never been able to get my 3Com pcimodem to work under Linux.
> >Does FreeBSD have these same problems?

I'd say it's less likely to work on FreeBSD than Linux. If it's a
WinModem, it won't work on FreeBSD. Some WinModems (known as
LinModems) have drivers for Linux, but they haven't been ported to
FreeBSD. If it's not a WinModem, it may work. Check the supported
hardware page on the FreeBSD website to see if it's listed.

> >Linux is just not behaving like Solaris!
> FreeBSD is even less like Solaris (thank god).  But changes to .profile
> will work under FreeBSD if you use sh or ksh as your shell.  And having
> mentioned that just switching to ksh is probably what you want to do
> since that is Solaris' default shell.  Won't make ls -d print more
> than a dot though.

Linux doesn't even behave like Linux. Different distributions have
different sets of tools and default settings and so on. So they all
act slightly differently, even though they all have a common
kernel. Once you move out of Linux distributions, things just get
worse.

Possibly you want to see about getting a copy of the x86 version of
Solaris.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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?15008.19028.544566.428659>