From owner-freebsd-questions@FreeBSD.ORG Mon Apr 10 13:16:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69C1716A401 for ; Mon, 10 Apr 2006 13:16:17 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5B2D43D46 for ; Mon, 10 Apr 2006 13:16:16 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so634171wxc for ; Mon, 10 Apr 2006 06:16:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fEc8nZx043Cal29BEtb2dgfqoFQfxFIWpnZp6kIMDeZ+Cxz5j4YxMoXmjiZsINRjypa5JF91SXUvpLaKGKPGOA04oCGM8vOVe8N+bWybCNYqAZk95ZsKxclMif9UhWRVzLZSpf+BoGgl+mQ68o/yXSYyeh9cyPXU26lpEhdXp6k= Received: by 10.70.116.10 with SMTP id o10mr2446529wxc; Mon, 10 Apr 2006 06:16:16 -0700 (PDT) Received: by 10.70.75.7 with HTTP; Mon, 10 Apr 2006 06:16:16 -0700 (PDT) Message-ID: <80f4f2b20604100616h46d5e3a0o335de370f5abf26b@mail.gmail.com> Date: Mon, 10 Apr 2006 09:16:16 -0400 From: "Jim Stapleton" To: freebsd-questions@freebsd.org In-Reply-To: <443A3BA5.9040505@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <443962BA.9020802@infernusweb.net> <443A3BA5.9040505@xs4all.nl> Subject: Re: Newbie help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 13:16:17 -0000 I appologize is this stuff is too basic for you, but it sounds as if you need a crash course in Unix basics, not just FreeBSD. This will tell you how to do the basics. My suggestion is to go to the library and pick up some books on Unix use/administration and/or FreeBSD. O'Reily makes some nice stuff. Notation: Any time you see something inside square brackets, it's optional. i.e. you might see: command [optional stuff] Next, when I put somthing between underscore, that means it's _italicised_, which means you have to replace what I wrote, with what the word describes. First off, some basic Unix comands $ cd _directory_ change your current directory to a new direcotry. If _directory_ starts with a "/", then the new directory will be relative to the root of the file systme, otherwise it will be relative to your current directory $ ls [_directory_] lists the contents of the current directory, unless _directory_ is specified, and then it lists the contents of _directory_ $ pwd Display "present working directory", or the directory you are in. $ man _command_ a rough outline of comman info, not the easiest to read initially, but it's a good quick reference. It's the manual. $ info _command_ another form of documentation, like man. $ which _command_ this tells you if a command is installed, and where it is located. $ less _file_ This outputs a file to the screen, you can navigate the file using the arrow keys. $ ee _file_ $ emacs _file_ $ xemacs _file $ vi _file_ $ vim _file_ These are three basic (and not so basic) text editors you can find on FreeBSD, ee and vi/vim are usually installed, you may have to install emacs on your own. Each has several advantages and drawbacks, and this topic is not the place to ressurect *that* holy war. Some important directories / The base directory off which everything can be found. /bin/ /usr/bin/ /usr/local/bin/ The location of most executable files. /sbin/ /usr/sbin/ /usr/local/sbin/ various server/administrative executable files are located in these directories /dev/ This directory gives file-like access to hardware devices, and is one of those things you'll need to learn over time. /etc/ /usr/local/etc/ All of the text files that configure the OS are here /home/ The directory containing each users information, with the user name as the sub directory with the information for each individual user. /usr/ This directory contains various shared pieces of data used throughout the operating system. It's a bit more complex than the rest, so I won't go into a lot of detail. /usr/local This is like /usr/, and "/" except it has the "test" or "add-on" files on= ly. now to try getting you to a point where you can reference the handbook, which is an excellent source of documentation. First, see which web browser you have installed for text viewing: $ which links $ which lynx if either of these returns something (such as /usr/local/bin/links ), you can skip to the "=3D=3D read the handbook =3D=3D" section, otherwise continuw with the "=3D=3D ports crash course =3D=3D" section. =3D=3D ports crash course =3D=3D first you want to get to the directory of a web browser, I'm slightly more comfortable with lynx than links, so I'll show you how to get ther: change your directory to the lynx port: all ports are under /usr/ports, then there are several sub-directories in there which hold various programs, related to the group name. Example: "www" has web related programs. $ cd /usr/ports/www/lynx/ now you want to install your web browser, running "make install" in a program directory within ports will download, install and compile the program (provided there are no errors). $ make install now clean up the work since you don't need it anymore $ make clean verify you have lynx installed, I noticed sometiems in earlier installs, I had to log out and log back in before this would work (or start a new shell, log out and back in will be easier for a newbie): $ which lynx =3D=3D read the handbook =3D=3D Open the handbook in your web browser, I believe this is the correct directory to the handbook, but I'm not currently on a BSD machine, so I can't verify easily. Replace "en" with the appropriate directory for your language if you aren't using english: $ lynx /usr/doc/en/books/handbook/index.html. Now, you can navigate with the page-up and page-down keys, and use the arrow keys to select links. Enter will follow the selected link, and backspace will bring you to a page that has a bunch of links that list recently viewed pages. You'll want to read about setting up X windows, as well as the use of ports and cvsup. The handbook describes these well, and is even more user friendly than the Hitchiker's Guide to the Galaxy, for all the lack of a "Don't Panic" moniker on the front. If you are like most Windows converts, you'll want to setup xorg, firefox, and either KDE or Gnome quickly. If you are more into diving in, you might like to install/try xfce (mentioned by another user), ion, and/or window maker instead. These can be found uner "x11/" or "x11-wm". Orif you are really bold, you can stick with "twm".