This file contains 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
#!/bin/bash | |
# | |
# Determine current IP address of the UTM guest VM and nc to it. | |
# Jason White (jdwhite@menelos.com) | |
# 2024-06-05 | |
# | |
# Note: VMs must be named the same as the SSH hostname. | |
# | |
# ~/.ssh/config entry for host as follows: | |
# |
This file contains 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
#!/bin/bash | |
# highest-version - determine highest version of $0 and exec. | |
# May need to modify '${0}*' if it matches more than the | |
# intended ${0} -- '${0}-*' for example. | |
exec $(ls -1 ${0}* | sort -rV | head -1) "$@" |