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.
There are circumstances when you want to ensure particular package version during setup process. I will show you a simple method to verify package version that is suitable for sourcing into a shell script.
During my quite long and interesting adventure with DokuWiki I have used many great and useful plugins, which I still install and configure on small DokuWiki instances. After using it extensively over a year, I have found only one plugin that can be added to that list. It is a simple, but very useful plugin to rebuild Dokuwiki index.
There are at least several ways to determine when the process was started to help you investigate and trace potential issues. I will briefly introduce four different methods so you can choose to adapt and extend most useful one.
There are many applications that share the same source package, so I will show three different ways to print the name of the source package.
Knowledge of how to determine when the last time package index files were updated can be very useful when you least expect it. It is not something used everyday, but can be used to monitor or verify when
apt-get update command was executed.
It is very easy to upgrade the whole Debian system, but you can also upgrade only selected packages and skip the rest.