Book review: Mastering Vim Quickly From WTF to OMG in no time

Posted on in Categories Reviews last updated November 18, 2017


The vim editor is a free and open source text editor. It is a clone of vi text editor. Vim is extremely popular among the Linux, macOS and Unix-like system users. Vim has many commands. It comes with a pretty extensive built-in manual too. One might get lost in the built-in manual. Let us see if “Mastering Vim Quickly From WTF to OMG in no time” can help a new or experienced vim user to increase productivity.

Download of The Day: Fedora Linux 27

Posted on in Categories Linux News last updated November 15, 2017

Fedora Linux version 27.0 has been released ( jump to download ) after many months of constant development and available for download in various media format. Fedora 27 is a free and open source operating system includes various new features such as GNOME 3.26, LibreOffice 5.4, glibc version 2.26, Node.js 8.x, Ruby on Rails 5.1, Golang 1.9 and more.
Continue reading “Download of The Day: Fedora Linux 27”

How to record statistics about a Linux machine’s uptime

Posted on in Categories Command Line Hacks, Hardware last updated November 15, 2017

Linux/Unix sysadmins have a weird obsession with server uptime. There is a xkcd comic devoted to this subject where a good sysadmin is an unstoppable force that it stands between the forces of darkness and your cat blog’s servers.
Fig.01: Devotion to Duty https://xkcd.com/705/
One can tell how long the Linux system has been running using the uptime command or w command or top command. I can get a report of the historical and statistical running time of the system, keeping it between restarts using tuptime tool. Like uptime command but with the more impressive output. Recently I discovered another tool called uptimed that records statistics about a machine’s uptime. Let us see how to get uptime record statistics using uptimed and uprecords on Linux operating system.

Improve your bash/sh shell script with ShellCheck lint script analysis tool

Posted on in Categories Command Line Hacks, Howto, Programming last updated November 9, 2017

ShellCheck is a static analysis tool for shell scripts. One can use it to finds bugs in your shell scripts. It is written in Haskell. You can find warnings and suggestions for bash/sh shell scripts with this tool. Let us see how to install and use ShellCheck on a Linux or Unix-like system to enhance your shell scripts, avoid errors and productivity.

How to colorizing cat command output or files using ccat app on Linux or Unix system

Posted on in Categories Command Line Hacks, Howto last updated August 30, 2017

The cat command (short for concatenate) is one of the most frequently used flexible commands on Linux, Apple MacOS X, *BSD (FreeBSD / OpenBSD / NetBSD), Unix-like operating systems. It is useful to display text files on screen, copy text files, combine text files, create new text files and more. If you cat command with colours, try ccat app.

I put a cronjob in /etc/cron.{hourly,daily,weekly,monthly} and it does not run and how can I troubleshoot it?

Posted on in Categories Cloud Computing, Howto, Open Source, Web Developer last updated August 27, 2017


Recently I created a simple shell script called backup.sh in /root/scripts directory to just backup MySQL database and dumped it to /nfs/mysql/ directory. I put a file (more like used the ln command to create a soft link ) in /etc/cron.hourly/ and it doesn’t run. There was no error in systemd log or cron log. Why is my cron job was not working, and here is how I troubleshoot it.

OpenSSL drops TLS 1.0/1.1 support for Debian Unstable and what does it mean for Debian sid users?

Posted on in Categories Debian Linux last updated August 7, 2017

From the announcement mailing list:

I’ve just uploaded a version of OpenSSL to unstable that disables the TLS 1.0 and 1.1 protocol. This currently leaves TLS 1.2 as the only supported SSL/TLS protocol version.

This will likely break certain things that for whatever reason still don’t support TLS 1.2. I strongly suggest that if it’s not supported that you add support for it, or get the other side to add support for it.

OpenSSL made a release 5 years ago that supported TLS 1.2. The current support of the server side seems to be around 90%. I hope that by the time Buster releases the support for TLS 1.2 will be high enough that I don’t need to enable them again.