On Mon, 15 Dec 2003, David Bear 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.

df | awk '$1 ~/^\/dev/ {print $1}'


                Fer


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to