ShellCheck – Analyse, Show Suggestions and Warnings For Shell Scripts

ShellCheck - Analyse, Show Suggestions and Warnings For Shell Scripts

Shell scripts are an important part of Linux systems. Most of the daily jobs and general jobs are done with shell scripts. The ShellCheck is a static analysis tool created to analyze the provided shellcode and give suggestions for better shell scripts and show warnings for some errors. The ShellCheck can be installed into all … Read more

$0 Script File Name Parameter Usage In Linux Bash

$0 Script File Name Parameter Usage In Linux Bash

Bash provides different parameters to get input from different sources. $0 is a special parameter that is used to store the name of the bash script. This $0 parameter is automatically assigned by the bash or bash interpreter and can not be changed in a script file like a regular variable. This makes it a … Read more