# [EMAIL PROTECTED] / 2003-12-15 16:30:33 -0700:
> 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 s
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
On Mon, Dec 15, 2003 at 08:39:06PM -0300, Fernando Gleiser wrote:
> 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
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}'
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