AAE-CNAS-Labs/Topic-1/test.sh
2021-03-03 16:32:13 +01:00

8 lines
159 B
Bash
Executable File

#!/bin/bash
rm -f old_file new_file;
echo "QWERTYUIOP" > old_file;
gcc -Wall main.c -o cp;
./cp old_file new_file;
chmod +rw new_file;
diff old_file new_file;