I need help trying run whoami and get userid and then run df -k to find all filesystem that are own by userid.
The following command I have, but does not work.
whoami | awk '{print $1}' | xargs -I '{}' df -k | grep '{}'
I need help trying run whoami and get userid and then run df -k to find all filesystem that are own by userid.
The following command I have, but does not work.
whoami | awk '{print $1}' | xargs -I '{}' df -k | grep '{}'