Re: OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?)
On Thu, May 06, 2021 at 02:37:17PM +0000, davidson wrote:
> > $ shopt -s globstar
> > $ ls /etc/**/.[^.]*
>
> It now occurs to me that this still omits files like /etc/.a and
> /etc/..metadotfile
It doesn't omit .a . The * is allowed to match the empty string.
> Instead,
>
> $ ls /etc/**/.{.?,[^.]}*
>
> does what I intend, which is to display all dotfiles under /etc. Seems
> unduly complicated if you ask me, but it is what it is.
find /etc -type f -name '.*'
Reply to:
- References:
- repeated system mail, /etc/.pwd.lock ?
- From: Emanuel Berg <moasenwood@zoho.eu>
- Re: repeated system mail, /etc/.pwd.lock ?
- From: Darac Marjal <mailinglist@darac.org.uk>
- Re: repeated system mail, /etc/.pwd.lock ?
- From: Emanuel Berg <moasenwood@zoho.eu>
- Re: repeated system mail, /etc/.pwd.lock ?
- From: Kushal Kumaran <kushal@locationd.net>
- Re: repeated system mail, /etc/.pwd.lock ?
- From: Emanuel Berg <moasenwood@zoho.eu>
- Re: repeated system mail, /etc/.pwd.lock ?
- From: David Wright <deblis@lionunicorn.co.uk>
- Re: repeated system mail, /etc/.pwd.lock ?
- From: Greg Wooledge <greg@wooledge.org>
- Re: repeated system mail, /etc/.pwd.lock ?
- From: David Wright <deblis@lionunicorn.co.uk>
- Re: repeated system mail, /etc/.pwd.lock ?
- From: davidson <davidson@freevolt.org>
- OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?)
- From: davidson <davidson@freevolt.org>