- Update, install git and make:
sudo apt-get update
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install git
sudo apt-get install make
- Clone this repository:
# cd to your outer destination folder
git clone https://github.com/txuanson/nachos.git
- Go to the code folder:
cd nachos-3.4/code
- Build NachOS:
make
- Run
# Available values for {app}: createfile - echo - cat - copy - delete
./userprog/nachos -d -rs 1023 -x ./test/{app}