dasha / gist:96cdfa4bcaa24a0b9bcab1a04d8babd4
0 likes
0 forks
1 files
Last active
1 | export JAVA_HOME=`/usr/libexec/java_home -v 21.0.2` |
dasha / gist:2a139a024b97494aa56a5732cc49d631
0 likes
0 forks
1 files
Last active
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 |
Newer
Older