An open API service indexing awesome lists of open source software.

https://github.com/thk2b/42sh

A unix shell implementation
https://github.com/thk2b/42sh

Last synced: 10 months ago
JSON representation

A unix shell implementation

Awesome Lists containing this project

README

          

# 42sh

A complete UNIX shell implementation

![screenshot](https://raw.githubusercontent.com/thk2b/42sh/master/media/screenshot.png)

## Features
- command execution by searching the `PATH` environment variable
- line edition and history
- `;` for mutiple commands, `|` pipes, `>` and `N>` redirections
- logical operators `&&` and `||`
- backtics for command substitution
- `echo`, `cd`, `env` builtins

## Build

To build an executable, clone and run
```sh
make
```

## Usage

To launch the shell, run
```sh
./42sh
```