Identify the statement that will print the following message
Hello unix
Pick ONE option
name=uinx
echo "Hello $name"
ih
name=unix
echo "Hello name"
name=unix
print Hello $name
name=unix
O
print "Hello $name";
Clear Selection
Answers
Answered by
0
What is questions ❔❔❔❔✍
Answered by
2
echo "Hello $name" is the correct answer
Explanation:
- In Linux to print the statement in the terminal, we will use echo command.
- echo will display a line of text.
- in echo to access the variable, we will use $ symbol before the variable name
- so for accessing the variable name, we will use $name in the text
So the correct answer is:
echo "Hello $name"
hence, echo "Hello $name" is the correct answer
Similar questions