#!/bin/bash FILES=*/*/*.cpp for f in $FILES do gcc $f -lstdc++ -o /dev/null done