cd ../homework_2 find . -name '*.cpp' | xargs cat | wc -l > ans1.txt find . -name '*.py' | xargs cat | grep thrift | wc -l > ans2.txt