1. 批量添加目录:
export PATH=$PATH$( find /usr/local/examples/ -type d -printf ":%p" )
BASH技巧记录
原文:https://www.cnblogs.com/zengjianrong/p/14357162.html