Skip to content
/ msh Public

A small toy shell inspired by Bash that I built purely for learning purposes so I could get a better idea of how a shell actually works.

License

Notifications You must be signed in to change notification settings

hyperioxx/msh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msh - Mini Shell

Description

A small toy shell inspired by Bash that I built purely for learning purposes so I could get a better idea of how a shell actually works. It has very basic functionality, only implementing two simple built-in commands cd and history. Most programs can be run through fork() and execvp(), which is roughly how Bash handles external commands as far as I understand.

Build

I don't use any external librarys as this was a goal i set out, I use pretty much all standard C/POSIX.

You just need gcc or clang.

To compile, just run the following at the root of the project:

make

To install you can run the following which will attempt to install under usr/local/bin:

make install

About

A small toy shell inspired by Bash that I built purely for learning purposes so I could get a better idea of how a shell actually works.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published