This is a C++ implementation of the "Build Your Own Shell" Challenge, a POSIX compliant shell that's capable of interpreting shell commands, running external programs and builtin commands like cd, pwd, echo and more.
- Ensure you have
cmakeandvcpkgand a compatible compiler (gccorclan) installed locally. - Run
g++ src/main.cpp src/commands.cpp src/parser.cpp.
Run the compiled a.out.
or
Download the latest release and chmod +x ./dknshell to make executable, then run ./dknshell.
or
Run the run_program.sh script to compile and run in one command.