This is set 6 in the ongoing series of MCQ. Hope you have enjoyed the other parts of the series. In this set we will cover questions related to Linux processes as processes are fundamental part of the Linux system. So lets get started
1
What is ppid(parent process id) of daemon process in Linux ?any arbitrary number
1
Answer
Option B is correct, As daemon process are initiated by init process(Pid is 1). You can see all your system daemon process by running following command
$ cd /etc/init.d && ls
See all your currently running daemon process by executing following command
$ ps -ef | awk '$3 == 1'
$ cd /etc/init.d && ls
See all your currently running daemon process by executing following command
$ ps -ef | awk '$3 == 1'