[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
df wishlist
From: |
Bruce Dubbs |
Subject: |
df wishlist |
Date: |
Sat, 16 Mar 2019 11:07:32 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
It would be helpful to add a --terse option to df such that a user could
do something like:
DF=$(df -k --terse --output=used $PWD)
Right now I see no method of omitting the header or to collapse the
spaces between values to a single space. This can be done of course
with tools like awk, cut, sed, grep, tail, etc, but would be a lot
cleaner if done inside df.
-- Bruce Dubbs
linuxfromscratch.org
- df wishlist,
Bruce Dubbs <=