3 ms·
sudo, and even cd and ps you mention are simply binaries that come shipped with your distro / OS. They, like explorer.exe on Windows, are an essential part of
by apexalpha 2y ago
sudo, and even cd and ps you mention are simply binaries that come shipped with your distro / OS.
They, like explorer.exe on Windows, are an essential part of that OS with special privileges and roles but they are not part of the kernel, they are still simply programs. It is not developed by the people who develop the Linux kernel.
There are other Sudo alternatives such as DoAs already.
- csande17 2y agoWhile some systems include a "cd" binary, it's basically useless since it just changes its own working directory and then exits. Instead, "cd" commands are generally parsed and executed by your shell (/bin/sh or similar) directly so that the shell's working directory gets changed and you can run subsequent commands in the new location. "ps" on the other hand is indeed just a normal program. Usually it reads files in /proc to figure out which processes are running.