This command will randomly select a number between 2 and 8 and use it to build a command that will echo "This command was built with [the randomly selected number]".
xargs -l -P $(shuf -i 2-8 -n 1) -I '{}' sh -c 'echo "This command was built with {}"'