Log into molly and run the following commands:
csc231 in your home directory using the mkdir command.cd command.
1
2
mkdir csc231
cd csc231
csc231 using the pwd command.
1
2
pwd
git clone https://github.com/CSC231-WCU/examples.git
git clone command will download the repository into a directory called examples inside your current directory, which is csc231.ls -l to confirm that examples exists.examples using cd.ls -l to see how many subdirectories there are inside examples.
1
2
3
ls -l
cd examples
ls -l
01-intro.nums.c.
1
2
3
cd 01-intro
gcc -Wno-overflow nums.c
./a.out
examples\intro-01 directory from Hands-on 1.
1
2
gcc mem1.c
./a.out
malloc and free examples\intro-01 directory from Hands-on 1.
1
2
gcc mem2.c
./a.out
system calls.x86 standard and device drivers.