Simple Linux shell in C that reads, parses, then executes simple shell commands.
fork()
creates new processes, execvp()
executes commands.
Clone this repo to your local machine using
git clone https://github.com/a-qxin/csc415.git
gcc -o shell shell.c
./shell
Use like any shell.
Examples: ls
, pwd
, mkdir <new folder name>
CTRL-C to quit.
shell in C using fork() and execvp()
shell in C using fork() and execvp() 2