From owner-freebsd-questions Sun Oct 29 7:51:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from malkav.snowmoon.com (ip-208-20-126-237.cdcsd.k12.ny.us [208.20.126.237]) by hub.freebsd.org (Postfix) with SMTP id 57CDF37B479 for ; Sun, 29 Oct 2000 07:51:12 -0800 (PST) Received: (qmail 77355 invoked from network); 29 Oct 2000 15:51:11 -0000 Received: from localhost.snowmoon.com (HELO localhost) (127.0.0.1) by localhost.snowmoon.com with SMTP; 29 Oct 2000 15:51:11 -0000 Date: Sun, 29 Oct 2000 10:51:11 -0500 (EST) From: Jaime To: Peter Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Trying to make something close to .bat file for dos on freebsd In-Reply-To: <000d01c041a5$265e56e0$cb3b35d1@bconnected.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 29 Oct 2000, Peter wrote: > Im trying to make something close to bat for freebsd. But don't know > where to start. I was thinking making so when i hit say "c" it auto > connect start ssh and connect to a remote site. You'd want to make a shell script then. Its a *.sh script, usually. Of course, you could also write a bash script, a csh script, a perl script, etc. .... Its all up to you. I usually use perl scripts these days, but shell scripting is the direct comparison to a batch file. Jaime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message