On Wed 11 Mar 2020 at 10:43:46 (-0400), Greg Wooledge wrote: > On Wed, Mar 11, 2020 at 09:41:19AM -0500, David Wright wrote: > > $ whoami > > david > > > $ df -h --all | grep -e 'Filesystem ' -e $(whoami) > > Filesystem Size Used Avail Use% Mounted on > > $ > > What did you *expect*? There are no lines containing "david" in > df's output.
I wondered what this script is for: grep can't make df display anything that it didn't already, and it doesn't appear to grep anything that might be useful, as you've pointed out. But sorry I asked. Cheers, David.