Skip to content

OS Week 06 Assignment #4: Fork() and Shared Memory

Check TARBALL FORK

  • TARBALL “FORK.tar.xz” should be inside the directory.
ls -al FORK.tar.xz

Extract TARBALL and RUN Script

bash 06_WEEK06.sh

Check and Read RESULT

cd $HOME/RESULT/W06/
ls -al
  • compare program fork1.c and fork2.c
    • compare the variable “sharePtr” in fork1.c and fork2.c
  • compare the result of fork1 and fork2