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
- Host: GitHub
- URL: https://github.com/thk2b/42sh
- Owner: thk2b
- Created: 2018-11-14T02:58:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-12T07:28:55.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T14:01:20.756Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 1.45 MB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 42sh
A complete UNIX shell implementation

## 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
```