Print first 10 multiples of given number
Here are the simple steps to create a bash script that takes a user-input number and print the first 10 ...
Read more
For loop to list all files in a directory
Here is the simple bash script that uses a “for” loop to list all files in a directory: Syntax of ...
Read more
Bash: Unleashing the Power of While Loops in bash
In the following post, you will unleash the power of “while Loops” with Real-Time Use Cases in bash. Syntax of ...
Read more
Bash: Unleashing the Power of For Loops with Real Time Use Cases
In the following post, you will unleash the power of “For Loops” with Real-Time Use Cases. Syntax of for loop: ...
Read more
When to use square brackets, single & double parentheses in bash?
In Bash, square brackets “[]”, single parentheses “()” and double parentheses “(( ))” are used in different contexts within “if” ...
Read more
Create a bash script that checks if a file is readable and writable
Here are the simple steps to create a bash script that checks if a file is readable and writable. Create ...
Read more
Check if entered number is numeric or not using bash script
The below bash script that takes two numbers as input from the user, compares them and check if entered number ...
Read more
Bash script that asks the user’s favorite color and prints it
Here are the simple steps to create a bash script that asks the user’s favorite color and prints it. 1. ...
Read more
Shell script that verifies if a file exists or not
In this following post, you will learn how to write a simple shell script that verifies if a file exists ...
Read more
Bash script that checks if a given number is even or odd
Here are the steps to write a simple Bash script that checks if a given number is even or odd: ...
Read more