In Linux boot order, the kernel will execute /sbin/init
, however, I can see another file /init
existing in the file system on my linux (CentOS 8 WSL2, Ubuntu 20 WSL2).
They are different binaries:
$ diff /init /sbin/init
Binary files /init and /sbin/init differ
What are the differences between /sbin/init
and /init
?