Qtr No. 213, New Town Yehlanka Indore 454775
Predict the output of the following code.
#!/bin/bash
num=1
while [ $num -gt 3]
do
echo -n "The number is $num"
num=`expr $num + 1`
done
echo "Loop terminated"
123Loop terminated
1Loop terminated
123
Loop terminated
To get all Self Assessment - Introduction to Unix Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee
We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.
Qtr No. 213, New Town Yehlanka Indore 454775
admin@prepflix.in
Updated on Thu, 11 Dec 2025