Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 988 Bytes

File metadata and controls

32 lines (21 loc) · 988 Bytes

Phun Shell

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.

🔧 Features

  • exit 0 to exit the shell
  • echo command support
  • type command to check if a command is a shell builtin or an external executable
  • Executes external system commands using ProcessBuilder

📦 How to Run

Make sure you have Java installed. Then compile and run the project:

javac Main.java
java Main

📁 Project Structure

  • Main.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!