Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msh - A Unix Shell

msh is a small shell for use on Unix and Unix-like systems. It has been tested on GNU/Linux (Debian) and FreeBSD.

The msh shell

msh can be built with a supported C compiler (currently gcc and clang). Additionally, the shell needs the editline library on the system in order to successfully build.

On BSD systems, there is currently an issue with getting the shell compiled with gcc. If this occurs, the shell can be compiled using the Clang compiler.

msh currently supports command input, I/O redirection, pipelining, filename completion, and command history.

Future improvements may include:

  • Tab completion (currently, only file completion is supported)
  • Scripting support
  • Network pipes

Building

To build the code on Linux-based systems, just run

make

This will generate an executable named shell.

Note: If you are not using the gcc compiler, or are on a BSD-based system, you can compile msh using the following command:

clang src/*.c -I . -o shell -leditline

About

A small Unix shell

Topics

Resources

Stars

13 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages