Using Ubuntu, what are the commands to produce the following outputs for questio
ID: 3742144 • Letter: U
Question
Using Ubuntu, what are the commands to produce the following outputs for question 1.
for question 2, please explain
1.) Assume you have made the following variable assignment: person-zach How can you produce longutputs on the scren? a) zach b) $persor b) zach" Take a screenshot (#3-4) which clearly shows the command you use and the result. a) "$person oot buntu File Edit View Search Terminal Help root@ubuntu:~# > line 2" varl-line 1 root@ubuntu:-# echo $varil 2.) 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? echo "$varl" echo $varlExplanation / Answer
If you post more than 1 question, as per chegg guidelines I have to solve only first question.
Ques 1.
(a)
# assign the value zach to variable porson
person="zach"
# display the value of variable person using echo command
echo $person
Sample Output
zach
(b)
# assign the value zach to variable porson
person="zach"
# display the name of variable person using echo command
# use to escape the $
echo $person
Sample Output
$person
(c)
# assign the value zach to variable porson
person="zach"
# display the name of variable person using echo command
# use to escape the "
echo ""$person""
Sample Output
"zach"
(d)
# assign the value zach to variable porson
person="zach"
# display the name of variable person using echo command
# use to escape the " and $
echo ""$person""
Sample output
"$person"
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.