Date: Tue, 16 Dec 2003 08:13:36 -0600 From: "Lance E. Lott" <lancelot@at-vantage.com> To: David.Bear@asu.edu Cc: freebsd-questions@freebsd.org Subject: Re: awk question, maybe Message-ID: <6.0.1.1.2.20031216081325.01bde180@mail.at-vantage.com> In-Reply-To: <20031215163033.H32172@asu.edu> References: <20031215163033.H32172@asu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
man head
and
man tail
At 05:30 PM 12/15/2003, you wrote:
>i would like to do something like
>
>df | awk '{print $1}'
>
>to capture all the current file systems. But I would like to strip
>off the first and last lines, since these are generally -- not needed.
>
>the goal is to write a generalized script that can feed dump with all
>the file systems on a box.
>
>any pointers?
>--
>David Bear
>phone: 480-965-8257
>fax: 480-965-9189
>College of Public Programs/ASU
>Wilson Hall 232
>Tempe, AZ 85287-0803
> "Beware the IP portfolio, everyone will be suspect of trespassing"
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
[-- Attachment #2 --]
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.1.1.2.20031216081325.01bde180>
