Skip to content
All repositories

github.com/Bloop31/custom-shell

Custom Shell

A lightweight Python-based custom command-line shell that executes system commands and supports basic built-in functionality.

README

A lightweight Python-based custom command-line shell that executes system commands and supports basic built-in functionality.

Features

  • Execute system commands (ls, pwd, dir, echo, etc.)
  • Built-in cd command
  • Built-in history command
  • Custom shell prompt showing current directory
  • Graceful exit using exit

OS Concepts Practiced

  • Command interpreter design
  • Process creation using subprocess
  • Parent-child process model
  • Working directory management
  • Shell loop implementation
  • System-level interaction

Tech Stack

  • Python
  • subprocess module
  • os module