On Tue, 2025-08-05 at 11:36 +0100, Barry wrote: > > > On 5 Aug 2025, at 08:01, Michael D. Setzer II via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > > > > Interesting. Wasn't sure why the * in an empty directory would have > > commands work but if in directory with files it would not? > > The bash shell will pass on the wildcard, * is your example, if it cannot expand the wildcard. > Some other shell will instead print an error, I think zsh is like that. > > Barry Mostly true, but the full story is more complicated: