Linux OS Shell Question:
Download Questions PDF

The $ variables in a shell script context designates:
a) The runtime of the script
b) Number of command line arguments
c) PID of the shell running the script
d) The exit status of the shell script

Linux Shell Interview Question
Linux Shell Interview Question

Answer:

c) PID of the shell running the script

Download Linux Shell Interview Questions And Answers PDF

Previous QuestionNext Question
Syntax to suppress the display of command error to monitor?
a) command > &2
b) command 2> &1
c) command 2> &2
d) command 2> /dev/null
Which command can be used to test various file attributes:
a) if
b) file
c) test
d) type