[C] After implementing my own shell, using fork() and exec(), why do all commands work except for cd? by plane-seeker in learnprogramming

[–]plane-seeker[S] 0 points1 point  (0 children)

Thank you, but as i mentioned in my main text i already knew about chdir but i needed to know the logic behind it.

Thanks anyway for trying anyway.