Skip to content

simple shell implementation in Java to practice system-level programming and command execution.

Notifications You must be signed in to change notification settings

phun333/phun-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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!

About

simple shell implementation in Java to practice system-level programming and command execution.

Topics

Resources

Stars

Watchers

Forks