Skip to content

This repository contains a custom shell implementation written in Golang. The shell provides basic command execution functionality and can be extended with additional features.

Notifications You must be signed in to change notification settings

Yashh56/GoShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Custom Shell in Golang

This repository contains a custom shell implementation written in Golang. The shell provides basic command execution functionality and can be extended with additional features.

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.

Installation

  1. Clone the repository:

      git clone https://github.com/Yashh56/GoShell.git
  2. Change the Directory

      cd GoShell
  3. Run the main.go file

      go run main.go

Usage

Executing Commands: Simply type a command and press Enter. For example:

  > ls
  > cd ..
  > mkdir new-folder

About

This repository contains a custom shell implementation written in Golang. The shell provides basic command execution functionality and can be extended with additional features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages