I have variable in my bash script
symbols="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVYXWZ~#$&_+-=/\\"
How to get random from this line in range 10-15?
For example in python I can
password = ''.join(random.sample(symbols, random.randint(10, 15)))
In output
# YeHvTBX4qVrzK9
# NYcd-HR0wVvE5Cg6
# mlS=uMPieqR
In bash how can i do that?