Skip to content

Kristina-Pianykh/go-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell written in Go

Why Reinvent the Wheel?

This is a fun little project for me to get more familiar with Go, its Stdlib and idiomatic use. So why the heck not?

More on the background of the project in this blog post.

Built and Run

go build -o shell cmd/myshell/*.go && ./shell

Supported Features

  • Shell builtins: echo, type, pwd, cd
  • File System navigation
  • File descriptor redirection for stdout and stderr with [fd]>[|] and [fd]>>
  • SIGINT handling for cancelling a currently running process or not yet entered input on Ctrl+C
  • Autocomplete with Tab for shell builtins and executables on PATH
  • Pipes

Next Up:

  • Flashy interface

About

Yet another shell. Written in Go.

Resources

Stars

Watchers

Forks

Contributors