?
Which of the following special shell variables is used to process number of the last background job?
Answer & Solution
Correct Answer:
Option
A
In Unix shell scripting, the $! special variable is used to process the number of the last background job. It holds the process ID (PID) of the last command run in the background.
So, $! is the special shell variable used to process the number of the last background job.
So, $! is the special shell variable used to process the number of the last background job.
Join the Discussion
Login to post a comment or share your explanation.
Login