Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You will be creating several shell scripts as part of this lab. Your scripts mus

ID: 3739317 • Letter: Y

Question

You will be creating several shell scripts as part of this lab. Your scripts must be submitted on iLearn before the beginning of the next lab to receive credit; submit your scripts as part of a tar gzip file, named (username].lab9.tar.gz replacing [usern allowed multiple submissions, but please be aware that iLearn is set to only keep your latest submission. ame] with your username (i.e., jagraves21_lab8.tar.gz). You are ave aS "read-error.sh" 1 | #1/bin/bash 2 echo "Hello World! I read first second 3 echo "first Sfirstl 4|echo "second = "$second"" 2. Explain why the following script does not behave as expected: "false-error.sh" | |#!/bin/bash 2 if true ; then echo "Hello World" 4 fi 5 if false ; then 6 7 fi echo "Hello Turtle"

Explanation / Answer

Hi friend, I have answered Q2.

Please repost other in separate post as per the CHEGG GUIDELINE, post ONE question per post

Q2.

Body of botg IF statememts are EMPTY, we are putting ';' just after condition, so body becomes empty.

Syntax of IF :

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote