Skip to main content
  1. Projects/

Go Shell from code crafters

··102 words·1 min

Shell in Golang #

This project in Golang is a project to create a POSIX shell in Golang.

This project is based off of the Build your own Shell by Codecrafters.io.

Features #

In this project we have implemented the following.

  1. Print a prompt to the user.
  2. Handle missing commands.
  3. Read, Evaluate, Print and Loop the shell.
  4. Exit - Exit the shell.
  5. Echo - Print the arguments to the shell.
  6. builtins - List all the builtins in the shell.
  7. cd - Change the directory.
  8. Running programs
  9. pwd - Print the current working directory.
  10. Environment Variables

Learning outcomes #

  1. Golang
  2. POSIX Shell