On Wed, Mar 11, 2020 at 08:41:08AM -0400, Greg Wooledge wrote: > On Wed, Mar 11, 2020 at 01:21:17PM +0100, to...@tuxteam.de wrote: > > On Wed, Mar 11, 2020 at 01:02:59PM +0100, Albretch Mueller wrote: > > > with your help I found a way around it (here is my silly scripting): > > > > > > $ sudo _DF=$(df -h) > > > > I don't think you need "sudo" for "df"? > > And a good thing, too, because that syntax is completely wrong. > > wooledg:~$ sudo x=$(id) > usage: sudo -h | -K | -k | -V
[...] > I think what Albretch was *trying* to do was this: > > _DF=$(sudo df -h) d'oh. Didn't catch that one. Of course it's "df" who gets to see the "=", not the surrounding shell. Thank you for your (as usual) sharp eye, especially in shell things. Cheers -- t
signature.asc
Description: Digital signature