From owner-freebsd-questions@FreeBSD.ORG Tue Jun 15 19:52:30 2004 Return-Path: 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 1091716A4CE for ; Tue, 15 Jun 2004 19:52:30 +0000 (GMT) Received: from turing.cs.hmc.edu (turing.cs.hmc.edu [134.173.42.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 047CC43D5C for ; Tue, 15 Jun 2004 19:52:30 +0000 (GMT) (envelope-from jmason@cs.hmc.edu) Received: by turing.cs.hmc.edu (Postfix, from userid 34126) id 4AAE953946; Tue, 15 Jun 2004 12:52:23 -0700 (PDT) Date: Tue, 15 Jun 2004 12:52:23 -0700 From: "Julian M. Mason" To: Matthew Seaman , Lloyd Hayes , freebsd-questions@freebsd.org Message-ID: <20040615195223.GB11022@turing.cs.hmc.edu> References: <40CF4287.1060005@yahoo.com> <20040615193256.GA95869@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040615193256.GA95869@happy-idiot-talk.infracaninophile.co.uk> User-Agent: Mutt/1.4.2.1i Subject: Re: FreeBSD Commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jmason@cs.hmc.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 19:52:30 -0000 On Tue, Jun 15, 2004 at 08:32:56PM +0100, Matthew Seaman wrote: > cd ~ -- change directory to your accounts home directory I'm going to expand on this one a little, because it's helpful. To cd to your home directory (your own little "corner of the file system", where all your personal files go), run 'cd' (without the quotes...) with no arguments. The ~ character is expanded by the shell to mean "path to my home directory". So, typing 'cd ~' would also take me to my home dir. Also, 'cd ~/music' would take me to the music directory in my home directory, if I've got one. Recall that 'pwd' prints the current working directory: An example: # pwd /usr/home/mac # ls Maildir public_html storage # cd /usr/local # pwd /usr/local # cd ~/storage # pwd /usr/home/mac/storage # ls video # cd # pwd /usr/home/mac # ls Maildir public_html storage (where '#' is my prompt) --Mac -- Julian "Mac" Mason jmason@cs.hmc.edu Computer Science '06 (909)-607-3129 Harvey Mudd College