Linux OS Shell Question:
Download Questions PDF

What is the output of the following command for bash shell:
echo linux $0

a) linux echo
b) linux linux
c) linux bash
d) linux

Linux Shell Interview Question
Linux Shell Interview Question

Answer:

c) linux bash

Download Linux Shell Interview Questions And Answers PDF

Previous QuestionNext Question
Which of the following file set in the current directory are identified by the regular expression a?b*?
a) afcc, aabb
b) aabb, axbc
c) abbb, abxy
d) abcd, axbb
When the return value of any function is not specified within the function, what function returns?
a) nothing
b) exit status of the last command executed
c) 0
d) none of the mentioned