If u wanted to understand more than just how to execute commands.? Here it is ... (pshell)
Introducing P-Shell: A shell that shows its work.
While building it, I explored how Unix processes actually work under the hood.
Some of the things I've implemented:
Command execution using "fork()" and "execvp()"
Pipes and output redirection (">", ">>")
File descriptor manipulation using "dup2()"
An ":explain" mode that traces shell operations
Process inspection through "/proc"
Creating and inspecting a real zombie process, then reaping it using "waitpid()"
One feature I'm particularly interested in is the ability to observe what happens during command execution instead of treating the shell as a black box.
This project has helped me get more hands-on with C programming, Linux processes, and operating-system concepts.
It's still a work in progress, and I plan to keep improving it.
Check out P-Shell on GitHub:
https://github.com/punithk-verse/p-shell
If you're interested in C, Linux, or systems…