3 ms·
Wait, how did the `cd` executable used to work in old Unix? Did it instruct the kernel to reassign the CWD of the parent process?
by creatonez 10mo ago
Wait, how did the `cd` executable used to work in old Unix? Did it instruct the kernel to reassign the CWD of the parent process?
- hnlmorg 10mo agoThe original UNIX shell (Thompson Shell) had chdir as a builtin, so I’d wager it’s always been a builtin. https://en.wikipedia.org/wiki/Thompson_shell https://en.wikipedia.org/wiki/Thompson_shell