Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taisiabarteneva/minishell
Implementation of a command interpreter
https://github.com/taisiabarteneva/minishell
c make
Last synced: 2 days ago
JSON representation
Implementation of a command interpreter
- Host: GitHub
- URL: https://github.com/taisiabarteneva/minishell
- Owner: taisiabarteneva
- Created: 2022-02-13T17:16:56.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-10T00:08:04.000Z (about 2 years ago)
- Last Synced: 2023-03-10T09:46:44.262Z (over 1 year ago)
- Topics: c, make
- Language: C
- Homepage:
- Size: 1.84 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minishell :shell:
School 42 team project (teammate [desssai](https://github.com/desssai)). Implementation of a command-line shell
For more detailed info about the projects see `subject.pdf` in the root of the repository
## Implemented features
- Redirection `>` `<` `>>` `<<`
- Pipes `|`
- Signals handler `Ctrl-C` `Ctrl-D` `Ctrl-\` `Ctrl-Z`
- Built-ins
- echo
- pwd
- cd
- export
- unset
- env
- exit
- Accurate status codes and error messages
- Environment variables handler
- Executables based on `PATH` environment variable or relative/absolute path
- History of commands
- Wildcard matching `*`
- `readline` library used## How to run
Compile and launch using
```
$ make
```## Example
![188963179-d2b65c84-9175-4fc3-b1e0-fed7eba9e3d6](https://user-images.githubusercontent.com/95509213/189460555-c1f2c57a-23f5-4f70-a623-ab311fac8173.gif)