awk question, maybe
Lance E. Lott
lancelot at at-vantage.com
Tue Dec 16 06:13:42 PST 2003
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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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
-------------- next part --------------
---
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
More information about the freebsd-questions
mailing list