On 03/13/2018 03:54 PM, Stephen Morris wrote:
On 13/3/18 9:33 am, Robert Nichols wrote:
Whenever you have questions like this, you should run "set -x" in the shell to see exactly how commands are being invoked. (Run "set +x" to turn that off again.)
I'm not sure what the point of this command is relative to du, it seems to be more relevant when using commands that are aliases.
Having issued the command "set -x", if I issue the command du -abh /home/steve/workspace it just echos that command back, and if I issue the command du -abh /home/steve/workspace/* it echos the command with a list of sub-directories of workspace that du is going to do its work over.
Yes. And does that list include the parent directory or any names that begin with "."? How could you expect "du" to process any names not in that list? Perhaps you tried that in a directory that does not contain any dotfiles. Try it in one that _does_.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx