To spawn a child of our own choice for running the script, we can use ___ command.

To spawn a child of our own choice for running the script, we can use ___ command.
A. ps
B. pr
C. sh
D. $$
 
Answer: c
Explanation: We know that shell scripts are executed by a child shell. But we can also explicitly spawn a child of our own choice by using the sh command along with script name as an argument. When used in this way, the interpreter line is ignored by the shell.
 

Tìm kiếm

Back
Top