This repository contains a custom shell implementation written in Golang. The shell provides basic command execution functionality and can be extended with additional features.
- Basic command execution: Execute common shell commands like
ls
,cd
,mkdir
, etc. - Custom commands: Extend the shell by adding custom commands.
- Error handling: Provides feedback for invalid commands or errors during execution.
- Prompt customization: Customize the shell prompt with different colors or formats.
- History: Keep track of previously executed commands.
-
Clone the repository:
git clone https://github.com/Yashh56/GoShell.git
-
Change the Directory
cd GoShell
-
Run the main.go file
go run main.go
Executing Commands: Simply type a command and press Enter. For example:
> ls
> cd ..
> mkdir new-folder