Linux OS Shell Question: Download Questions PDF
Which one of the following is not a valid shell variable?
a) _san
b) san_2
c) _san_2
d) 2_san
![Linux Shell Interview Answer Linux Shell Interview Question](https://globalguideline.com/public/images/interview/17.png)
Answer:
d) 2_san
Explanation:
The shell variable can contain only letters(a to z or A to Z), numbers(0 to 9), or a underscore character(_) and a variable can not start with a number.
Explanation:
The shell variable can contain only letters(a to z or A to Z), numbers(0 to 9), or a underscore character(_) and a variable can not start with a number.
Download Linux Shell Interview Questions And Answers
PDF