When a shell (such as bash ) calls an executable file, first it is fork , and then a copy of it execve executable file.
When the shell invokes built-in commands, a new process is not created, and execve can only work with executable files, and built-in commands are not stored in executable files.
So, how are built-in commands stored and how are they called in terms of system calls?
source share