8 lines
159 B
Bash
Executable File
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;
|