From owner-freebsd-newbies@FreeBSD.ORG Wed Feb 25 04:20:47 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6997116A4CE for ; Wed, 25 Feb 2004 04:20:47 -0800 (PST) Received: from chaucer.statcan.ca (CPE0050fc727b74-CM014270107825.cpe.net.cable.rogers.com [24.43.93.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69A9F43D1D for ; Wed, 25 Feb 2004 04:20:36 -0800 (PST) (envelope-from mike@chaucer.statcan.ca) Received: from chaucer.statcan.ca (localhost [127.0.0.1]) by chaucer.statcan.ca (8.12.9/8.12.9) with ESMTP id i1PCJc0S026725 for ; Wed, 25 Feb 2004 07:20:04 -0500 (EST) (envelope-from mike@chaucer.statcan.ca) Received: (from mike@localhost) by chaucer.statcan.ca (8.12.9/8.12.9/Submit) id i1PCJcB5026724; Wed, 25 Feb 2004 07:19:38 -0500 (EST) Date: Wed, 25 Feb 2004 07:19:38 -0500 From: Mike Jeays To: freebsd-newbies@freebsd.org Message-Id: <20040225071938.3af56805.mj001@rogers.com> In-Reply-To: <20040225045712.A1A9D43D2D@mx1.FreeBSD.org> References: <20040225045712.A1A9D43D2D@mx1.FreeBSD.org> X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Greetings and salutaions.. X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 12:20:47 -0000 On Tue, 24 Feb 2004 20:57:12 -0800 (PST) Sharif Dayan wrote: > Greetings... > > I am new to this list. I am sorry if my first mail does not look well. > > > At 18:37 23-02-2004 +0100, "Benjamin Walkenhorst" wrote: > > >command-line and shell-scripting. > > I know "command-line", because I once used DOS, but what is "shell-scripting" ? > > > Sharif Dayan > > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" Shell scripts are the equivalent of DOS "batch" programs, written as a file containing a series of command lines. They are usually given a '.bat' extension in DOS. Unix shell scripts can have any file name, but it is quite common' to use '.sh' as the extentsion. There are several different command interpreters, known as "shells". The basic one supplied with most Unixes is the original 'sh', but there are later versions with many more options. Shell scripts must be marked as executable before they can be run - use the command "chmod +x yourscript.sh". Read up on the 'bash' shell for much more detail. It is FAR more powerful than the DOS command line. -- Personal : Mike.Jeays -at- rogers.com Phone : 613-724-4510 Work : Mike.Jeays -at- statcan.ca Phone : 613-951-9929 FAX 613-951-0395 Web page : http://members.rogers.com/mike.jeays