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

Part Il: Multiple Choices 1. What is the output of the following sequence of bas

ID: 3756979 • Letter: P

Question

Part Il: Multiple Choices 1. What is the output of the following sequence of bash commands: echo 'How are you' l sed a. How are you? b. ?How are you c. How are yous d. ? e. None of above 's/s//g 2. Which awk command outputs the 2st field of lines that have at least two fields: a. 2NR(print $2) b. NF-2 (print $2) c. /$2/print $3) d. /$21-/(print $3) e. None of above 3. What is the output on your screen after trying following command line: echo "9-29-2018" l sed a. no output on screen b. 09-29-2018 c. 09 29 2018 d. 09-29-2018 09-29-2018 e. None of above -n 's/a(2)-d(2)-vd(4)//p. . Which awk command outputs all lines where a $ appears at the begining of line? a. /^$/{print $0) b. /$A/(print $0) c. /^$/{print $0) d-A^$/{print $0) e. None of above 5. Which command below deletes lines which has only letters? a. sed 1[a-Z]*S/d'file b. sed '/ [a-2]+$/d file c. sed /Ia-ZA-ZS/d' file d.sed a-zA-Z]S/d' file e. None of above

Explanation / Answer

Answer:-----------