How to Bash sleep until time or delay a specific amount of time. How do I pause for 5 seconds…
DevOps Blog – Latest DevOps Articles and Tutorials
Bash script arguments into a function
How to pass arguments into a function? How to Bash all arguments into a function? Bash script the essential for…
Bash script run by root or not
How do I check bash script is being run as a root user or not. when creating a new account…
Debug Bash Script
Table of Contents1 Introduction2 Why Debugging Bash Scripts is Important3 How to Debug Bash Scripts: Techniques and Tools3.1 1. Use…
Bash create new file with content
Table of Contents1 Introduction2 For example, My bash create new file with content.3 Run Bash create a new file with…
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
Table of Contents0.1 Introduction1 Bash script comment1.1 Single line comment1.2 HERE DOCUMENT COMMENT1.3 Multiple line comment1.4 Best Practices for Commenting1.5…
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
Table of Contents1 Introduction2 Prerequisites3 Bash read file line by line3.1 For Example 1:3.2 For example 24 Conclusion Introduction In…