https://github.com/deep-1704/unix_shell
A custom built Unix shell supporting all basic unix commands and also some self made commands like history, greet, guide, and exit.
https://github.com/deep-1704/unix_shell
c operating-systems shell unix
Last synced: about 1 month ago
JSON representation
A custom built Unix shell supporting all basic unix commands and also some self made commands like history, greet, guide, and exit.
- Host: GitHub
- URL: https://github.com/deep-1704/unix_shell
- Owner: deep-1704
- Created: 2023-12-05T09:16:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T09:53:53.000Z (over 2 years ago)
- Last Synced: 2025-01-18T05:43:20.535Z (over 1 year ago)
- Topics: c, operating-systems, shell, unix
- Language: C
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unix_Shell
A custom built Unix shell supports all basic Unix commands and some self-made commands like history, greet, guide, and exit.
It also supports commands for executing an executable file, provided input and output files.\
For example:
```bash
ubuntu@username:/Users/username>> myExeoutput.txt
```
## Run Locally
Before running, please make sure you are in a Unix-like environment (Mac/Linux(preferable)), as commands are based on Unix, and have installed GCC compiler for C-programs.
#### Steps
Clone the project
```bash
git clone https://github.com/deep-1704/Unix_Shell.git
```
Go to the project directory
```bash
cd Unix_Shell
```
Compile source code
```bash
gcc MyCLI.c -o cli
```
Run the code
```bash
./cli
```
You are good to go!