To make star character in bash to match hidden files, use dotglob option:
If directory contains both normal and hidden (.*) files, here what you will get without and with dotglob set:
To make star character in bash to match hidden files, use dotglob option:
If directory contains both normal and hidden (.*) files, here what you will get without and with dotglob set: