Pick a target IP/port and a shell, then generate a ready-to-use reverse shell one-liner with a matching listener command — no random generation, every option is your choice.
Needs a bash build with --enable-net-redirections (default on most distros) — won't work under dash/sh. macOS's bundled /bin/bash (3.2) isn't built with this flag, so this doesn't work out of the box on Mac.