I wanted to move all files, including starting with dot (hidden) and folders (recursively).
So I used the following commands
shopt -s dotglob nullglob mv ~/public/* ~/public_html/
and it worked.
But do I need to reset anything after doing
shopt -s dotglob nullglob? Doesn't it change how commands like
mv operate? Because I would like it changed back.