1. 批量添加目录:
export PATH=$PATH$( find /usr/local/examples/ -type d -printf ":%p" )
export PATH=$PATH$( find /usr/local/examples/ -type d -printf ":%p" )
2. 记录terminal log:script xxx.log,exit的时候会生成log文件,可添加到bash.rc
1. 批量添加目录:
export PATH=$PATH$( find /usr/local/examples/ -type d -printf ":%p" )
export PATH=$PATH$( find /usr/local/examples/ -type d -printf ":%p" )
2. 记录terminal log:script xxx.log,exit的时候会生成log文件,可添加到bash.rc