Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #234957
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?) |
| Date | 2021-05-07 06:30 +0200 |
| Message-ID | <Cc0hH-56b-1@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <CbnT3-6Wz-1@gated-at.bofh.it> <CbrMZ-Qn-3@gated-at.bofh.it> <CbMHL-586-1@gated-at.bofh.it> <CbNkt-5Ag-3@gated-at.bofh.it> <CbNua-5Dq-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Thu 06 May 2021 at 10:46:03 (-0400), Greg Wooledge wrote:
> 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 '.*'
Well, here are the files on my system:
# find /etc -type f -name '.*' -ls | sort -k 11
-rwx------ 84357 May 6 08:25 /etc/.etckeeper
-rw------- 932 Apr 3 2020 /etc/.gitignore
-rw-r--r-- 0 Apr 3 2020 /etc/.java/.systemPrefs/.system.lock
-rw-r--r-- 0 Apr 3 2020 /etc/.java/.systemPrefs/.systemRootModFile
-rw------- 0 Apr 3 2020 /etc/.pwd.lock
-rw-r--r-- 102 Jun 23 2019 /etc/cron.d/.placeholder
-rw-r--r-- 102 Jun 23 2019 /etc/cron.daily/.placeholder
-rw-r--r-- 102 Jun 23 2019 /etc/cron.hourly/.placeholder
-rw-r--r-- 102 Jun 23 2019 /etc/cron.monthly/.placeholder
-rw-r--r-- 102 Jun 23 2019 /etc/cron.weekly/.placeholder
-rw-r--r-- 0 Dec 19 2018 /etc/sensors.d/.placeholder
-rw-r--r-- 220 Apr 17 2019 /etc/skel/.bash_logout
-rw-r--r-- 3526 Apr 17 2019 /etc/skel/.bashrc
-rw-r--r-- 807 Apr 17 2019 /etc/skel/.profile
#
(I removed the node#, usage, #links and ownership for brevity.)
I have no argument with /etc/skel/ and the placeholders, obviously.
/etc/.etckeeper is a script for creating directories and resetting
ownerships/permissions in /etc/, and /etc/.gitignore is a list of
filename patterns that etckeeper is configured not to track.
Turning to the dot-directories with:
# ls -GlgAR /etc/\.[^\.]*/ (pruned and attached)
/etc/.git/ certainly contains configuration files as well as the
repository itself. I know nothing about java, and how /etc/.java
relates to /etc/java/.
Most of this stuff is protected from reading, but I don't see the
point in "hiding" them with dots.
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-04 08:20 +0200
Re: repeated system mail, /etc/.pwd.lock ? Darac Marjal <mailinglist@darac.org.uk> - 2021-05-04 10:10 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-04 10:20 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-04 11:20 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-05 00:50 +0200
Re: repeated system mail, /etc/.pwd.lock ? Kushal Kumaran <kushal@locationd.net> - 2021-05-05 03:10 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-05 03:20 +0200
Re: repeated system mail, /etc/.pwd.lock ? Greg Wooledge <greg@wooledge.org> - 2021-05-05 03:40 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-05 04:40 +0200
Re: repeated system mail, /etc/.pwd.lock ? David Wright <deblis@lionunicorn.co.uk> - 2021-05-05 04:40 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-05 04:50 +0200
Re: repeated system mail, /etc/.pwd.lock ? David Wright <deblis@lionunicorn.co.uk> - 2021-05-05 05:10 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-05 05:20 +0200
Re: repeated system mail, /etc/.pwd.lock ? Greg Wooledge <greg@wooledge.org> - 2021-05-05 13:30 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-05 16:00 +0200
Re: repeated system mail, /etc/.pwd.lock ? Jonathan Dowland <jon+debian-user@dow.land> - 2021-05-08 09:30 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-09 05:10 +0200
Re: repeated system mail, /etc/.pwd.lock ? David Wright <deblis@lionunicorn.co.uk> - 2021-05-05 17:40 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-05 18:00 +0200
Re: repeated system mail, /etc/.pwd.lock ? Greg Wooledge <greg@wooledge.org> - 2021-05-05 18:10 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-05 21:30 +0200
Re: repeated system mail, /etc/.pwd.lock ? David Wright <deblis@lionunicorn.co.uk> - 2021-05-06 05:30 +0200
Re: repeated system mail, /etc/.pwd.lock ? Charles Curley <charlescurley@charlescurley.com> - 2021-05-06 04:50 +0200
Re: repeated system mail, /etc/.pwd.lock ? davidson <davidson@freevolt.org> - 2021-05-06 16:00 +0200
OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?) davidson <davidson@freevolt.org> - 2021-05-06 16:40 +0200
Re: OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?) Greg Wooledge <greg@wooledge.org> - 2021-05-06 16:50 +0200
Re: OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?) David Wright <deblis@lionunicorn.co.uk> - 2021-05-07 06:30 +0200
Re: OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?) <tomas@tuxteam.de> - 2021-05-07 09:40 +0200
Re: OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?) Tixy <tixy@yxit.co.uk> - 2021-05-07 10:50 +0200
Re: OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?) <tomas@tuxteam.de> - 2021-05-07 11:20 +0200
Re: repeated system mail, /etc/.pwd.lock ? David Wright <deblis@lionunicorn.co.uk> - 2021-05-09 06:20 +0200
Re: repeated system mail, /etc/.pwd.lock ? Emanuel Berg <moasenwood@zoho.eu> - 2021-05-09 12:00 +0200
csiph-web