Question: Moving to another question will save this response. Question 3 What does the following code do accomplish? yosemite-15 x-1 tyosemite -J5 while [ Sx -It

 Moving to another question will save this response. Question 3 What

does the following code do accomplish? yosemite-15 x-1 tyosemite -J5 while [

Sx -It 100 1: dox-sist Sx -eq 60] then echo 'you win:

Moving to another question will save this response. Question 3 What does the following code do accomplish? yosemite-15 x-1 tyosemite -J5 while [ Sx -It 100 1: dox-sist Sx -eq 60] then echo 'you win: fi: done This code will not run as written because the" (double quote) character should be substituted with a (single quote). o This code fails because the while loop syntaxis incorrect. The correct syntax requires a sign not.a o This code fails because a while loop does not support incrementing vaniables. A for loop must be used instead. o This sets a variable x - 1, runs through a while loop 100 times and prints you win" on the 60th iteration. Moving to another question will save this response. Question 2 Which of the following choices creates a faster method of executing the following command: ps ef I grep tcp I awk (print $2) tr A-Z az /etc for i in 'ps-ef] grep tcp | awk(print $2). I tr "A-Z' .a-z/etc/ do echo Si done alias hf--"ps-ef I grep tcp awk'(print $2), l tr AZ' 'az' /etc/ o printf ps ef I grep tcp awk tprint $2y tr A-Z: 3-z letc ps "ef I grep tcp awk(print S2)' l trAZ az' /etc/ l while read i do echo Si done Moving to another question will save this response. Question 1 Based on the following variables: (yosemite -1s echo Sa St 5 6 What is the output of the following statement: tyosemite -Js if i Sa -ge sb J: then echo "6 is greater then 5: else echo "5 is greater then 6": f O 4 is greater then 6 O 6 is greater then 5 O The program errors out because single quotes should be used, instead of double quotes. O 5 is greater then 6 Moving to another question will save this response

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!