Lecture On Bash Shell Script
Lecture On Bash Shell Script
▪ various purposes
▪ Cat>filename Or
while [ condition ]
do
statement
done
10
do
statement
done
11
‘read’ command is used to take input from user
12
if [ condition ];
then
statement
fi
13
14
15
16
case expression in
pattern1)
statement ;;
pattern2)
statement ;;
esac
17
18
19
20
▪ combine string variables in bash by placing variables together or using ‘+’ operator
21