code $(dirname `which nrm| awk '{print $2}'`) 1. get whereis nrm location 2. use dirname get the result parent dir 3. code open that 4.`` 不能嵌套使用