Qtr No. 213, New Town Yehlanka Indore 454775
Predict the output
arr=(1 2 3 4 5) for i in ${arr[*]};do if [ `expr $i % 2` -eq 0 ];then temp=$( expr $i * $i)) echo $temp else echo ' "$i" ' fi done
$i 4 $i 16 $i
1 4 3 16 5
"$i" 4 "$i" 16 "$i"
"1" 4 "3" 16 "5"
To get all Infosys Certified Unix Associate Exam questions Join Group https://bit.ly/infy_premium_group
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