From owner-freebsd-newbies Sun Jun 21 14:04:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA29133 for freebsd-newbies-outgoing; Sun, 21 Jun 1998 14:04:07 -0700 (PDT) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from mail1.toronto.istar.net (mail1.toronto.istar.net [209.89.75.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA29122 for ; Sun, 21 Jun 1998 14:04:05 -0700 (PDT) (envelope-from genisis@istar.ca) Received: from ts7-04.kin.istar.ca ([207.216.1.131] helo=genisis) by mail1.toronto.istar.net with smtp (Exim 1.92 #3) id 0ynrHw-0001up-00; Sun, 21 Jun 1998 17:04:37 -0400 Message-ID: <002801bd9d58$89279f00$8301d8cf@genisis> From: "Dru" To: "Tim Gerchmez" Cc: Subject: Re: Latest discoveries... Date: Sun, 21 Jun 1998 17:06:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Still need to know: How to use multiple commands in csh aliases. For >example, in .cshrc, there are alias lines letting you set up your own >commands. I haven't been able to figure out how to execute more than one >command at a time using an alias. I want to be able to format, label and >mount a floppy disk in one operation, but everything I've tried as far as >setting an alias like "dofloppy" that performs those three operations has >failed. I've had to break them up into separate aliases. Any clues from >csh experts out there? If not, I'll try freebsd-questions next. I'm no expert, but it sounds like you want a shell script, not an alias. This is covered in very good detail with many simple examples in the book Unix Unleashed in Chapter 13 under Aliases and Shell Scripts. Not trying to push the website, but I'm poor and the book is excellent. I shelved the Complete FreeBSD when it told me to use my favorite text editor to set up my ppp configuration files. Geez, I had had FreeBSD installed and running for less than 5 minutes and I already had a favorite text editor? Thus my introduction to Vi, but I digress and don't want to get you started on the vi thread again. Anyways, read the book for free at http://www.mcp.com/personal. Register your e-mail address to get access to the e-library. Hope this helps. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message