From owner-freebsd-questions Thu Mar 20 22:46:53 2003 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 A999B37B404 for ; Thu, 20 Mar 2003 22:46:52 -0800 (PST) Received: from mail.clubplus.net (mail.clubplus.net [216.191.22.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A4943FB1 for ; Thu, 20 Mar 2003 22:46:50 -0800 (PST) (envelope-from david@skytrackercanada.com) Received: from skytrackercanada.com (3s1.com [209.188.66.29]) by mail.clubplus.net (8.12.7/8.12.7) with ESMTP id h2L6luui013470; Fri, 21 Mar 2003 01:48:00 -0500 Received: (from root@localhost) by skytrackercanada.com (8.12.6/8.12.6) id h2L6kWQi056498; Fri, 21 Mar 2003 01:46:32 -0500 (EST) (envelope-from david@skytrackercanada.com) Received: from skytrackercanada.com (localhost [127.0.0.1]) by skytrackercanada.com (8.12.6/8.12.6) with ESMTP id h2L6kSkx056470; Fri, 21 Mar 2003 01:46:28 -0500 (EST) (envelope-from david@skytrackercanada.com) Received: (from david@localhost) by skytrackercanada.com (8.12.6/8.12.6/Submit) id h2L6kLKV056469; Fri, 21 Mar 2003 01:46:21 -0500 (EST) (envelope-from david) Date: Fri, 21 Mar 2003 01:46:21 -0500 From: David Banning To: Earl Larsen Cc: questions@freebsd.org Subject: Re: Help with scripts? Message-ID: <20030321014621.A56375@skytrackercanada.com> References: <3E7A7DCA.9010303@cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3E7A7DCA.9010303@cox.net>; from elarsen2@cox.net on Thu, Mar 20, 2003 at 06:49:46PM -0800 X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) X-RAVMilter-Version: 8.4.2(snapshot 20021217) (mail) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Mar 20, 2003 at 06:49:46PM -0800, Earl Larsen wrote: > What I would like to know is how I can type like "go". And it does the > "ls -? -? |more" comand. Or I can type "on" and it does the "mount > /cdrom". I am slowly switching to FreeBSD on my system. And my wife is > windows handycap. And I want things to go smothly for her. So she can > use it. And for some quick types for me. I have a number of commands that I use like that. Just put the commands you want in a file, and chmod the file to be executable. $ cat go ls -lt | more $ chmod 755 go and to test; $ ./go If you want it executable from anywhere you have to put it in a bin directory. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message