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

last updated in Categories Command Line Hacks, Howto, Programming

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

last updated in Categories Command Line Hacks, Howto

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.

neofetch – Awesome system info bash script for Linux, MacOS, Unix

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. This command shows info about your system next to an image, your operating system logo and other info. Neofetch version 5.0.0 has been released. Let us see how to install the latest version of neofetch on a Linux or Unix-like system to get system info.