Last active
September 16, 2020 03:22
-
-
Save muumin/5a6b7e61e0b66c8b0828da86a35f1c91 to your computer and use it in GitHub Desktop.
PATHのなかからプログラムファイルを検索するワンライナー
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for binpath in `echo $PATH | awk '{cnt=split($0,path,":");for (i=1;i<=cnt;i++)print path[i]}'`; do echo $binpath; ls -la $binpath | grep node; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment