Print first 10 multiples of given number

bash script that print numbers
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

for loops in bash
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

while loops in linux
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

for loops in bash
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?

when to use square bracket 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

Check if file is readable or 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

check number or not using bash
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

bash script that asks users favorite color
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

bash script that verfies if a file exists
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

bash script that checks odd or even number
Here are the steps to write a simple Bash script that checks if a given number is even or odd: ...
Read more
12 Next