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

8. Assume you have made the following variable assignment: person-zach How can y

ID: 3744627 • Letter: 8

Question

8. Assume you have made the following variable assignment: person-zach How can you produce the following outputs on the screen? a) zach b) $person b) "zach"-Take a screenshot (#3-4) which clearly shows the command you use and the result. a) "$person" root@ubuntu: Eile Edit View Search Terminal Help root@ubuntu.~# varl="line 1 line 2" root@ubuntu.~# echo $varl Set varl to the value as shown in the right figure. What's the difference between the following two statements? How many arguments does each echo command see? 9. echo "$varl" echo $varl

Explanation / Answer

8)

person=zach

# a
echo $person

# b
echo '$person'

# c
echo '"'$person'"'

# d
echo '"$person"'

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