Environment Question:
Download Questions PDF

Which command is used to debug a shell script program:
a) set
b) set -x
c) debug
d) db

Answer:

b) set -x

Download Linux Environment Interview Questions And Answers PDF

Previous QuestionNext Question
Which variable contains current shell process id:
a) $*
b) $?
c) $$
d) $!
For every successful login, which script will be executed?
a) /etc/inittab
b) /etc/profile
c) /etc/login
d) /etc/init