datatracker/etc/portnum.sh

7 lines
52 B
Bash
Executable file

#!/bin/sh
PORT=$(( $(id -u) + 7000 ))
echo $PORT