[Solved] Exercise 4 Examples Shown Page 16 Slides Name Left Hand Side Script Fer Loop1 Right Hand S Q37264096
language: Unix/Linux
Exercise 4 Do the examples as shown in Page 16 of the slides. Name the left-hand side script fer-loop1, and the right-hand side script for-loop2. Verify that it works. /bin/bash !/bin/bash count-0 for var in Debbie Jamie Kitty do count e or var in f0..4) 0 do echo “$var” echo “$count” count-$((count+1)) echo “var $var” echo “count $count” count-$((count+1)) done done isantoss@unixlab testis /for-loop count # 0 ount 1 count 2 ount 3 count 4 [isantos5@unixlab test]s./for- Loop Debbie amie Kitty var3 Show transcribed image text Exercise 4 Do the examples as shown in Page 16 of the slides. Name the left-hand side script fer-loop1, and the right-hand side script for-loop2. Verify that it works.
/bin/bash !/bin/bash count-0 for var in Debbie Jamie Kitty do count e or var in f0..4) 0 do echo “$var” echo “$count” count-$((count+1)) echo “var $var” echo “count $count” count-$((count+1)) done done isantoss@unixlab testis /for-loop count # 0 ount 1 count 2 ount 3 count 4 [isantos5@unixlab test]s./for- Loop Debbie amie Kitty var3
Expert Answer
Answer to Exercise 4 Do the examples as shown in Page 16 of the slides. Name the left-hand side script fer-loop1, and the right-ha… . . .
OR

