What is the correct way to assign the word “Hello” to a variable?

What is the correct way to assign the word “Hello” to a variable?Category: Linux EssentialsWhat is the correct way to assign the word “Hello” to a variable?
Linux Questions Staff asked 1 year ago

What is the correct way to assign the word “Hello” to a variable?

  • $A=”Hello”
  • echo “Hello” > A
  • A=”Hello”
  • echo $A “Hello”
  • A = “Hello”

About the author