This is a basic shell implementation written in Java.
I started this project to improve my Java skills by building a custom shell from scratch.
I'm also using test cases and challenges from CodeCrafters.io as a reference to guide the development and verify the behavior of the shell.
exit 0to exit the shellechocommand supporttypecommand to check if a command is a shell builtin or an external executable- Executes external system commands using
ProcessBuilder
Make sure you have Java installed. Then compile and run the project:
javac Main.java
java MainMain.javaβ Core shell logic: input reading, command parsing, execution
Feel free to explore, fork, or contribute!
If you notice any bugs, feel free to open an issue or suggest a fix.
Have an idea to improve the project? I'm open to suggestions and happy to collaborate!