How do I check bash script is being run as a root user or not. when creating a new account…
Bash Script
Debug Bash Script
How to debug a bash script? you can investigate the causes of the problems so you can apply fixes. Yeah,…
Bash create new file with content
Introduction How to BASH create a new file with content in Linux? In Bash scripting, there are multiple ways to…
Bash script check if directory exists
Use Bash script check if the directory exists or not exists. In this tutorial, I will check FILE/FOLDER exists or…
Understanding Bash script comments
Introduction How to use bash script put Multiple Line Comment. Would you like to use a bash script comment in…
Bash script read time
You can use the date command to display or set the current date and time. In this tutorial, I will…
Bash script ssh failed login attempts
In Centos or RHEL, ssh failed login attempts are recorded in /var/log/secure file. Bash script the essential for DevOps Roles.…
How to use Bash read file line by line
Introduction In this tutorial, we will explore a simple and effective method to achieve this using Bash scripting. I use…