108 15:06 pwd 109 15:06 mkdir "Lab 1" 110 15:06 cd Lab\ 1/ 111 15:08 cd .. 112 15:08 rm Lab\ 1/ 113 15:09 rmdir Lab\ 1/ 114 15:09 mkdir lab1 115 15:09 mv lab1/ Lab1 116 15:09 cd D 117 15:09 cd Lab1/ 118 15:10 touch test.c 123 15:14 nano test.c 124 15:14 gcc -Wall -Werror test.c 125 15:14 echo Hello world > input.txt 126 15:14 echo Hello planet >> input.txt 127 15:15 cat input.txt 128 15:15 echo Hello > correct_output.txt 129 15:15 ./a.out < input.txt 130 15:17 ./a.out < input.txt > output.txt 131 15:17 diff correct_output.txt output.txt 132 15:17 diff correct_output.txt incorrect 133 15:22 echo Hello world > incorrect_output.txt 134 15:22 diff correct_output.txt incorrect_output.txt 135 15:23 history | tail -n 20 > script.sh 136 15:23 nano script.sh 137 15:25 nano tmp.txt 138 15:25 cat tmp.txt script.sh > compile_script.sh 139 15:25 ls 141 15:26 chmod +x compile_script.sh 142 15:26 ./compile_script.sh 143 15:28 history > history_backup.txt