dasha / gist:96cdfa4bcaa24a0b9bcab1a04d8babd4
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | export JAVA_HOME=`/usr/libexec/java_home -v 21.0.2` |
dasha / gist:2a139a024b97494aa56a5732cc49d631
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | Error 86: |
| 2 | |
| 3 | #!/bin/bash |
| 4 | |
| 5 | # Loop through all directories in PATH |
| 6 | for dir in ${PATH//:/ }; do |
| 7 | echo "$dir" |
| 8 | # Check if directory exists before trying to access |
| 9 | if [ -d "$dir" ]; then |
| 10 | # Loop through executable files in this directory |
更新
更早