1)
echo *
Only displays file names having [a-z, A-Z] but does not display files starting with .
For example .bashrc
is not covered with shell glob *
2)
echo .*
gives the expected output.
In first case, why does the shell glob does not include file names with dot?
123
and--
are valid file names and match the*
– ilkkachu Apr 21 '17 at 09:54ls
with no arguments for example. – Stephen Kitt Apr 21 '17 at 13:02