zsh

git pull in all sub directories

for d in */; do pushd $d; echo $d; git pull; popd; done

(eval):1: _mv: function definition file not found

rm -f ~/.zcompdump*
exec zsh -l

Zshでmvの補完をするとcommand not found: _mv

clang

find out default include path

clang++ -Wp,-v -x c++ - -fsyntax-only < /dev/null

soruce: Clang/GCC: find out default include path

cmake

How can I see the exact commands?

cmake .
make VERBOSE=1

source: Using CMake with GNU Make: How can I see the exact commands?

du

calculate the size of each directory

du -h -s *