Skip to content

diegolopes98/codecrafters-shell-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

progress-banner

Build your own Shell

This is my solution in GO for the CodeCrafter's "Build Your Own Shell" Challenge.

Overview

This challenge consist in building a simple repl shell in any desired language featuring the commands

exit code
echo something
type any_command
cd {~, ./some_relative_path, /some/absolute/path}
executable_from_path

Note: If you're viewing this repo on GitHub, head over to codecrafters.io to try the challenge.

Running my shell on your machine

To run the shell you must have go version 1.22.3 installed on your machine. If by any chance you use asdf the .tool-versions is already configured

Once installed, simply run the following command:

./your_shell.sh

It will start the custom shell and you can start typing commands.

Note: any command from the user $PATH is valid, but it will attempt to run builtin first

About

CodeCrafters shell challenge in Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors