Categories
Uncategorized

How to extract rpm package on macOS

Extract RPM package on macOS to access its contents, which is especially useful for some old source packages.

Categories
SysOps

How to configure command-line tab completion for known SSH hosts

Configure and enable command-line tab completion for known SSH hosts to ease day-to-day operations. You do need to configure or enable this on Debian based distributions, but it is good to know how to do this as you will never know when it will come in handy. This article is an extension of adding the SSH menu to the Unity launcher blog post.

Categories
Uncategorized

How to execute logrotate every hour

Logrotate does not support hourly schedule, but this is an easy task to accomplish.

Categories
Uncategorized

How to import self-signed certificate to macOS system keychain

I described a simple way to generate self-signed SSL certificate using command-line two weeks ago. So, today I will share very useful trick for MacOS users which is a shell script to import self-signed certificate to macOS system keychain using command-line.