Skip to content

Instantly share code, notes, and snippets.

@petrul
Created August 20, 2023 11:21
Show Gist options
  • Save petrul/902ece7d021de0140c2b9d90c8af4090 to your computer and use it in GitHub Desktop.
Save petrul/902ece7d021de0140c2b9d90c8af4090 to your computer and use it in GitHub Desktop.
get-random-port.sh
#! /bin/bash
echo "puts $SRANDOM % 65535" | ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment