Simple simulation of shell using C language and *nix system calls.
Open terminal at local repository and run make,
or make all if you want to test redirection of input
Run program with: ./shell
Execute builtin shell(bash) commands, example:
ls, ps, top
Execute custom made commands, example:
quit, cwd (current working directory), cd
Run background process, example:
top&
Use of pipe (|), example:
ls | sort
Use of redirection (>) & (<) to a file, example:
ls > filename
./test < filename
Kill process with terminate signal, example:
kill <pid>
Chain commands, example:
ls | grep .c | sort