Question: Part 1 Please complete the tasks in following table step by step and finish the questions below the table. Step 1: Go to your home



Part 1 Please complete the tasks in following table step by step and finish the questions below the table. Step 1: Go to your home directory (cd and create a new file named as foo.sh (vi foo.sh or nano foo.sh), then include following lines in your foo.sh. bin/bash tfoo.sh in Part 1 of PC6 x 1 initialization x 1 while le 4 L t while 4 expr $x expr $1 1 t i it1 done echo x Sx Step 2: Save your file and exit editor. Step 3: Try following command to make simple.sh executable. schmad at x foo.sha Step 4: Execute this file by invoking its name. S./foo-sh Note: when type the shell script in your terminal, please be very careful about spaces. Questions: Attach a screenshot of the out ut in step 4. 2 Describe what does the shel foo.sh do? script
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
