https://github.com/osamaadam/unix-shell
A simple Unix shell written in C++.
https://github.com/osamaadam/unix-shell
cpp unix
Last synced: 5 months ago
JSON representation
A simple Unix shell written in C++.
- Host: GitHub
- URL: https://github.com/osamaadam/unix-shell
- Owner: osamaadam
- License: mit
- Created: 2020-03-26T19:56:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T08:26:32.000Z (over 5 years ago)
- Last Synced: 2024-12-30T20:33:45.844Z (about 1 year ago)
- Topics: cpp, unix
- Language: C++
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unix-Shell
A Unix shell made as an assignment for ECE2021.
## Setup
```sh
$ make
$ ./main
```
## Docker Setup
Perhaps you're running Windows, have Docker installed and want to try it.
You may use the following command to start the docker environment.
```sh
$ docker-compose run shell
```
## Custom Commands
```sh
=> exit
```
Exits the shell.
```sh
=> logout
```
Could be triggered by writting it out or pressing _ctrl+d_.
```sh
=> log
```
Opens shell.log in a VI editor.