Whenever we open a terminal, kernel creates a process(bash-terminal using fork+exec) and it's parent process is "init". But this "mate-terminal" becomes parent and creates another process "terminal" which is visualised by user.
Just wanted to know what sort of file descriptors,memory etc are shared between the "init"(pid=1,ppid=0), "mate-terminal"(pid=200 and ppid=1) and "terminal"(pid=201 and ppid=200).
I know about the process stack and which segments are shared but unable to clearly visualise in this practical scenario.
Please help me in understanding the memory sematics of the process..
Any help is welcome..