j
k
j a
j l
port=$(($(date +%s%N)%"$sshr_port_len"+"$sshr_port_base")) port=$(($(date +%s%N)%${sshr_port_len}+${sshr_port_base}))
port=$(($(date +%s%N)%"$sshr_port_len"+"$sshr_port_base"))
port=$(($(date +%s%N)%${sshr_port_len}+${sshr_port_base}))
style: white space around the operators.
${} is not necessary inside $(( ))
Thanks, Fengguang
Back to the thread
Back to the list