Linux OS Shell Question:
Download Questions PDF

Which one of the following statement is true about variables in shell?
a) variables do not require declaration before assigning value to them
b) variables are case sensitive
c) to extract the contents of a variable, we have to provide the variable a preceding $
d) all of the mentioned

Linux Shell Interview Question
Linux Shell Interview Question

Answer:

d) all of the mentioned

Download Linux Shell Interview Questions And Answers PDF

Previous QuestionNext Question
Which command reads user input from the terminal and assign this value to a variable name?
a) read
b) get
c) declare
d) set
Which one of the following is not a valid shell variable?
a) _san
b) san_2
c) _san_2
d) 2_san