Shell expansion of * and hidden files

Alan Horn ahorn at deorth.org
Fri Jul 23 03:26:06 UTC 2004


On Thu, 22 Jul 2004, Ulrich Drepper wrote:

> The most straight-forward way is to tell the shell you want the dot files:
>
> $ ls -a
> ./  ../  .uu
> $ echo *
> *
> $ shopt -s dotglob
> $ echo *
> .uu
> $ shopt -u dotglob
> $ echo *
> *
>

I find that

ls .??*

usually works well.






More information about the fedora-list mailing list