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”
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”
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:~$