1. Fork + String
Write a program, executer.c:
./executer "command0 argument00 argument01…" "command1 argument10 argument11 …" …
Over each "command argument0 argument1 …" string:
It runs command with argumetns argument0, argument1 …
It prints the byte size of command output
Shell example:
for C; do eval $C | wc -c done
sh Fork_String.sh "ls -l /" "date" "cal" "cal -y" 1106 33 185 2448