Which of the following commands will set the variable t…

Which of the following commands will set the variable text to olaf is home? (Choose two)

Which of the following commands will set the variable text to olaf is home? (Choose two)

A.
text=olaf\\ is\\ home

B.
text=$olaf is home

C.
$text=’olaf is home’

D.
text==’olaf is home’

E.
text=”olaf is home”



Leave a Reply 1

Your email address will not be published. Required fields are marked *


fe

fe

D/E
A is wrong
vagrant@ubuntu-xenial:~$ var_test=olaf\\is\\home
vagrant@ubuntu-xenial:~$ echo $var_test
olaf\is\home
vagrant@ubuntu-xenial:~$