In Bash, you can easily calculate the difference between two dates. This can be useful in various scenarios, such as…
Browsing: bash
The Linux shell is a command-line interface that allows users to interact with the operating system and execute commands. There…
Bash aliases are shortcuts that allow you to use a shorter or simpler command to represent a longer or more…
In Bash, it is often necessary to check if a command succeeded or failed. For example, you may want to…
In Linux, PS1 is an environment variable that specifies the format of the command prompt displayed in the terminal. It…
A number is a combination of 0-9 digits—the Bash variables stores all value in the form of strings. Even if…
Amazon SES (Simple Email Service) is a popular SMTP service provider similar to Sendgrid, Mailchimp, etc. In order to use…
Comparing strings is a common task when working with shell scripts, user input, or string data. In the shell, you…
Bash, a name which is basically an acronym for Bourne-Again Shell, is a pretty popular shell that came after the…
Shell scripts are handy for automating tasks like backup databases, clearing log files, etc. You need to perform some tasks…