A basic Unix shell in C which implements several commands of shell. Used fork() and exec() system-calls to implement the different commands of the shell, with the added choice of running the command via threads or processes.
Command | Information |
---|---|
cd | change directory |
pwd | present working directory |
exit | exit shell |
ls | -a : list all files(including hidden)-m : list comma seperated |
cat | -E : print file contents with line endings-n : print file contents with line numbers |
date | current date & time |
mkdir | -m : make directory with specific permissions-v : make directory with verbose information |
rm | -i : remove file with confirmation-v : remove file with verbose information |
help | list commands |
echo | echo something to shell |
clear | clear shell |
&t | add this after any command to execute it via thread |