Language: C
This shell is part of course "Introduction to OS: Part 1" by Codio. It's a wrapper for UNIX file system, written with C language.
List of built-in commands that can be executed by default:
- exit -- ends shell execution (no parameters)
- cd -- changes current direction (exactly 1 parameter)
- path -- set paths for executing other commands (0 or more parameters)
- Stream redirection -- use symbol > to redirect output to file
- Parallel commands -- use symbol & to call commands simultaneously
Use this commands to start shell:
gcc -o wish wish.c
./wish
gcc -o wish wish.c
./wish batch.txt
- Built-In commands cannot be run in parallel mode!
- Some syntax and command execution problems sometimes (fix needed)
- DONE
Code refactoring needed (add some space optimization and clarification)