bash-4.2$ ls -la
total 31
drwxr-xr-x 2 root root 72 Aug 13 13:27 ./
drwxr-xr-x 278 root root 27232 Aug 13 13:27 ../
-rw-r--r-- 1 root root 316 Aug 13 12:58 fork.c
bash-4.2$ tcc -run fork.c
Hello fork()
I'm the dad
I'm the child process
bash-4.2$ ls -la
total 31
drwxr-xr-x 2 root root 72 Aug 13 13:27 ./
drwxr-xr-x 278 root root 27232 Aug 13 13:27 ../
-rw-r--r-- 1 root root 316 Aug 13 12:58 fork.c