Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 1998 17:06:43 -0400
From:      "Dru" <genisis@istar.ca>
To:        "Tim Gerchmez" <fewtch@serv.net>
Cc:        <freebsd-newbies@FreeBSD.ORG>
Subject:   Re: Latest discoveries...
Message-ID:  <002801bd9d58$89279f00$8301d8cf@genisis>

next in thread | raw e-mail | index | archive | help

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801bd9d58$89279f00$8301d8cf>