NSH is a (pseudo) shell written for OSN Assignment 2 at IIIT Hyderabad
Make sure you have cmake
installed.
First, Create a build directory:
mkdir build
cd build
Run cmake
, with debug flag for debugging or release flag otherwise.
cmake -DCMAKE_BUILD_TYPE=Debug ..
Then, either run make
or ninja
:
make
or
ninja -C
You should have the shell in nsh
in the build/bin/
directory.
- Home directory is defined as the directory where the shell is initialized: Assignment specification.
- Argument parsing is very rudimentary.
- Environment variables are not touched: Assignment specification(?)
- Job id's are always increasing.