Date: Fri, 21 Mar 2003 01:46:21 -0500 From: David Banning <david@skytracker.ca> To: Earl Larsen <elarsen2@cox.net> Cc: questions@freebsd.org Subject: Re: Help with scripts? Message-ID: <20030321014621.A56375@skytrackercanada.com> In-Reply-To: <3E7A7DCA.9010303@cox.net>; from elarsen2@cox.net on Thu, Mar 20, 2003 at 06:49:46PM -0800 References: <3E7A7DCA.9010303@cox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030321014621.A56375>