4 ms·
It's how very early version of Unix effectively did stuff, they exceed a program, and when it exited they exceed the shel again. When they introduced something
by aardvark179 11y ago
It's how very early version of Unix effectively did stuff, they exceed a program, and when it exited they exceed the shel again.
When they introduced something like the fork/exec model we now have they discovered cd didn't work any more and had to write it as a built in.
Now, for bonus points, work out how goto worked when it wasn't a built in.
- JoshTriplett 11y ago> It's how very early version of Unix effectively did stuff, they exceed a program, and when it exited they exceed the shel again. Makes sense, since those systems might not have enough memory to run the shell and another program at the same time.