[PLUG] a question on "mv" command
VY
vyau5678 at gmail.com
Tue Oct 3 16:10:14 UTC 2017
Dear All
Yesterday, I was told of this usage of "mv" and I could not figure out why
it would work.
So I am sending out my question
Say I am in a directory with 3 sub-directories "a", "b" and "c".
I then type
bash> mv *
Directory "a" and "b" would move under "c".
I re-read the man page for "mv" and nothing says it can do this. And it did
say there needs to be a "source and "destination". From this command above,
there isn't that 2-parameter requirement.
Can anyone explain why this would work? Or is this an undocumented
side-effect
for "mv"?
thanks
-v
More information about the PLUG
mailing list