Bash ShellCalculate difference between two dates in BashBy RahulFebruary 28, 2023In Bash, you can easily calculate the difference between two dates. This can be useful in various scenarios, such as…
Linux Tutorials10 Most Popular Open Source Linux ShellsBy RahulJanuary 9, 2023The Linux shell is a command-line interface that allows users to interact with the operating system and execute commands. There…
Linux TutorialsHow to Create Bash Aliases with ParametersBy RahulJanuary 3, 2023Bash aliases are shortcuts that allow you to use a shorter or simpler command to represent a longer or more…
Bash ShellChecking If a Command Succeeded in Bash Using the `$?` Special VariableBy RahulDecember 27, 2022In Bash, it is often necessary to check if a command succeeded or failed. For example, you may want to…
Linux TutorialsHow To Customize Bash Prompt (PS1) In LinuxBy RahulDecember 21, 2022In Linux, PS1 is an environment variable that specifies the format of the command prompt displayed in the terminal. It…
Bash ShellCheck if a Variable Contains a Number in BashBy RahulOctober 21, 2022A number is a combination of 0-9 digits—the Bash variables stores all value in the form of strings. Even if…
General ArticlesBash – Sending Email via Amazon SESBy RahulOctober 11, 2022Amazon SES (Simple Email Service) is a popular SMTP service provider similar to Sendgrid, Mailchimp, etc. In order to use…
Bash Tips & TricksHow to Compare Strings in BashBy RahulOctober 9, 2022Comparing strings is a common task when working with shell scripts, user input, or string data. In the shell, you…
Linux TutorialsHow to Edit and Set Your $PATH Environment Variable in BashBy RahulAugust 3, 2022Bash, a name which is basically an acronym for Bourne-Again Shell, is a pretty popular shell that came after the…
Bash ShellHow to run a command on bash script exitsBy RahulAugust 2, 2022Shell scripts are handy for automating tasks like backup databases, clearing log files, etc. You need to perform some tasks…