I think this should be an easy one, but it's got me stumped.
When I use the following, it finds the file.
$ ls -al .bash_*.sw*
-rw-r--r-- 1 damiensawyer staff 12288 27 Nov 07:39 .bash_profile.swo
But when I use this, it doesn't find it.
$ ls -al *.sw*
ls: *.sw*: No such file or directory
I expected the second command to also return .bash_profile.swo
. What am I missing?