systemd and search domains.
Ed Robbins
ed at erobbins.com
Thu Jan 9 12:56:54 EST 2020
On 1/8/20 6:26 PM, Ken D'Ambrosio wrote:
> On 2020-01-08 17:58, Joshua Judson Rosen wrote:
>>> Nutshell: clearly, it's time for
>>> a self-written inotify daemon and call it a day.
>>> Because it's stupid easy to prepend a line with my domain name every
>>> time the file changes,
>>> whereas I'm gettin' old trying to figure this out through a more
>>> elegant mechanism.
>> Ha! An inotify monitor actually seems like a pretty elegant solution to
>> me!
>> (though maybe I should point out that I got some of my aesthetic sense
>> from growing up watching The Red Green Show...).
> I done did it. (Yeah, I use Ruby for my CLI stuffs; it's pretty much
> replaced Perl as my go-to for any systemy stuff. But this time, I
> decided not to make it a Ruby script and just threw in a -pie one-liner
> like the olden Perl days. It's not particularly pretty, but hey...)
There are some things in Linux that I absolutely gush over because of
how handy they are, inotify is just such a creature. I use it in some
of the most unlikely places to solve some of my most baffling problems.
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/pipermail/gnhlug-discuss/attachments/20200109/22636315/attachment.html
More information about the gnhlug-discuss
mailing list