2022-02-22から1日間の記事一覧
where コマンドが見つからなかったので for i in `echo $PATH | sed -e 's/\:/ /g'` do find $i -name "$1" -print done を whereとして保存、 chmod +x where で ./where python でPATHに設定された検索パス上にpythonが全部検索される。 恒久的に使えるよ…
where コマンドが見つからなかったので for i in `echo $PATH | sed -e 's/\:/ /g'` do find $i -name "$1" -print done を whereとして保存、 chmod +x where で ./where python でPATHに設定された検索パス上にpythonが全部検索される。 恒久的に使えるよ…