Linux - Study Mode
[#261] Which function can be used instead of the dup2 to duplicate the file descriptor?
Correct Answer
(D) fcntl()
[#262] If we want to execute the makefile by just giving the "make" command, makefile should be named as
Correct Answer
(A) Makefile
[#263] A user issues the following command sequence: $ a.out &
$ bash
$ a.out & If the user kills the bash process, then which of the following is true?
Correct Answer
(D) init process becomes parent of second a.out process
[#264] The process which terminates before the parent process exits becomes
Correct Answer
(A) Zombie
[#265] Which one of the following is not a valid shell variable?
Correct Answer
(D) 2_demo