On Mon, Apr 27, 2009 at 9:14 PM, Christian Hudon <[email protected]> wrote: > Hello, > > I have a small feature request. It'd be nice to have a --no-header option to > df that skips printing the header line.
The feature is already implemented in sed:- $ df -P | sed -e 1d|head -3 /dev/mapper/mirror_a-root_fs 5160576 1045448 3852984 22% / tmpfs 1989896 0 1989896 0% /lib/init/rw udev 10240 280 9960 3% /dev > > The use case for this would be when doing stuff like (in a shell), to check > the disk space on a particular partition on a long list of machines: > > for machine in `long list of machines` > df --no-header /usr > > The output would be much easier to read without the all the interleaved > header lines. > > Thanks for listening, > > Christian > > > > _______________________________________________ > Bug-coreutils mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/bug-coreutils > _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
