Skip to content

SebaOfficial/LSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSH

A light implementation of a shell written in C.

Since its purpose is demonstration (not feature completeness or even fitness for casual use), it has many limitations, including:

  • Commands must be on a single line;
  • Arguments must be separated by a whitespace;
  • No quoting arguments or escaping whitespace;
  • No piping nor redirection;
  • Only builtins are: cd, help, exit.

Build

You can either build with make or download the latest artifact in the actions.

Run

If you downloaded the artifact you first need to extract the lsh file from the zip, then you can just run it (make sure it's executable).

./lsh

License

This project is under the MIT License.

About

Light implementation of a shell written in C

Topics

Resources

License

Stars

Watchers

Forks