Which one of the following is not a valid shell variable?
a) _san
b) san_2
c) _san_2
d) 2_san
Submitted by: Murtazad) 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.
Submitted by: Murtaza
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.
Submitted by: Murtaza
Read Online Linux OS Shell Job Interview Questions And Answers
Top Linux OS Shell Questions
☺ | cmd > abc 2>&1 will: |
☺ | The redirection 2> abc implies: |
☺ | Which of these is the correct method for appending \"foo\" in /tmp/bar file? |
☺ | Which one of the following is not a valid shell variable? |
☺ | What will be output of following command: |
Top Linux OS Categories
☺ | Device Drivers Interview Questions. |
☺ | Linux OS Management Interview Questions. |
☺ | Linux Makefile Interview Questions. |
☺ | Linux Environment Interview Questions. |
☺ | Linux OS Shell Interview Questions. |