vi and vim are two out of many text editors on Unix, this is my .vimrc. I put this here mostly so I can easily grab it.
If you are reading this you probably know what /etc/cron.hourly/ , /etc/cron.daily/ and so on does. What you might not know is that on CentOS, RHEL, Fedora you can name a script living in these […]
Secure System Service Daemon or SSSD is used to setup authentication on various Linux distributions. You can also use it to define how to interact with Active Directory. It has a configuration line which will […]
OpenDNS is my preferred DNS service. This is how you can configure a MikroTik router for OpenDNS using DoH or DNS over HTTPS. Athe actual URL of the server, then, because you have no other […]
Ionut Micu created a cool MikroTik script to block adds by assigning 127.0.0.1 to their hostname, similar to Pihole. This is basically the same I just included a few allow list that I usually use, […]
This is just a simple sed to capture IP address from ping. Note host must allow ICMP. This was tested on sh, bash and zsh. An example:
My idea about not to rotate empty log files on FreeBSD has made it to newsyslog, yay 😀 ! Big thanks for Dan Langille who made this happen!
tmutil is the command line tool to interact with your Time Machine backups. The graphical user interface is good in most of the cases, but not all, it’s a bit limited; when you need to […]
I updated docker on CentOS 8 from docker-ce-3:19.03.13-3.el8.x86_64 to docker-ce-3:20.10.1-3.el8.x86_64 and failed to start after update. Oh no, now what? 🙂 Let’s see more details: Turned out the fix was to remove trusted.xml, or better […]
Happy Xmas. War is over if you want It.