awk question, maybe

David Bear David.Bear at
Mon Dec 15 15:32:00 PST 2003

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"

More information about the freebsd-questions mailing list