<span style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; ">第一个answer的参数次序错了。应该是 </span><br style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; " /><span style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; ">grep who /use/local -r </span><br style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; " /><span style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; ">who是pattern,如果含有特殊字符则要加上引号。 </span><br style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; " /><span style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; ">/usr/local是local, </span><br style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; " /><span style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; ">-r 是option,表示所有的文件,且对子目录递归, </span><br style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; " /><span style="font-family: simsun; font-size: 14px; line-height: 23px; text-align: left; ">但是用了这个,就不能指定*.c之类的参数了。</span>