ExamVeda
Login
Home
This question belongs to Computer Science Unix
Unix
?

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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.