killersheep – Silly game for Vim version 8.2

last updated in Categories Command Line Hacks, Howto, Humour, Open Source

Vim is my favorite text editor and version 8.2 released. The new version includes support for popup windows and text properties. Popup windows can be used for many purposes. For example, a list of choices can be displayed, where the user selects an entry with keys or with the mouse. There is also a new vim game released named as killersheep to show you new capabilities of Vim. Let us see how to install and play killersheep.
killersheep - Silly game for vim version 8.2

pfetch Linux and Unix hardware information tool

last updated in Categories Command Line Hacks, Howto

The neofetch command like utility written in a bash shell. The main purpose of neofetch is to be used in screenshots to display other users what operating system or Linux distro you are using including theme, icons, hardware config and more. Now we have another tool called pfetch. It is a pretty system information tool written in POSIX sh. Let us see how to install and use pfetch Linux and Unix hardware information tool.
pfetch Linux and Unix hardware running on Ubuntu

Linux/Unix desktop fun: sl – a mirror version of ls

last updated in Categories Command Line Hacks

One of the most common mistakes is typing sl instead of ls command. I set up an alias, i.e., alias sl=ls; but then you may miss out the steam train with a whistle.

sl is a joke software or classic UNIX game. It is a steam locomotive runs across your screen if you type “sl” (Steam Locomotive) instead of “ls” by mistake. Now there is a twist to older sl command.
Continue reading “Linux/Unix desktop fun: sl – a mirror version of ls”

How to use Chomper Internet blocker for Linux to increase productivity

last updated in Categories Command Line Hacks

Chomper is a free and open source Python cli for Linux desktop. It lets you block access to distracting websites for specified periods of time. The program is intended to help you with issues being productive on a desktop due to Internet distractions. One can set a period to block websites. Until that timer expires, you will be unable to access sites.

Deleting all existing comment author urls in WordPress using mysql command

last updated in Categories Command Line Hacks, Howto, Programming, Web Developer

I have like over 50k+ comments posted on this site. A commenter is allowed to leave their website or Github/Twitter URL in the comment section. Unfortunately, many websites are dead creating a mess. Many are just spam and nothing else. This is not good for anyone. Here is a quick way to delete all existing comment author URLs in WordPress using mysql command line option.

Monitor Linux CPU temperature, frequency, power in a graphical way

last updated in Categories Command Line Hacks, Howto, Python


S-tui is a free and open source terminal UI for monitoring your computer. s-tui allows to monitor CPU temperature, frequency, power and utilization in a graphical way from the terminal. It is written in Python and need root permission to use the s-tui. It is useful for:

  1. Watch your CPU temperature/utilization/frequency/power
  2. See performance dips caused by thermal throttling
  3. No need to use X-server. Perfect for headless usage including Raspberry PI

Let us see how to install and use s-tui on a Linux based system.

How to record statistics about a Linux machine’s uptime

last updated in Categories Command Line Hacks, Hardware

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.