Wednesday, January 21, 2026

 Shell script - Find number of times a specific alphabet in a word 


Output



 For loop in shell script


Output



 If else in shell script


Output



Shell script tutorial  - set

This script shows the importance of set command.

set -x #debug mode

set - e #exit the script when there is an error

set -o pipefail #(if there is pipe used in script, set -e won't fail, hence we should also use set -o).




Output





Inter VLAN configuration