Rolling Dice in Linux with Bash:
#!/usr/bin/bash
DIE1=$(( ( RANDOM % 6 ) + 1 ))
DIE2=$(( ( RANDOM % 6 ) + 1 ))
echo -n "Your roll is ${DIE1} and ${DIE2} "
echo -n "and your total is "
echo ${DIE1}+${DIE2} | bc
$ rolldice
Your roll is 2 and 4 and your total is 6
$ rolldice
Your roll is 6 and 4 and your total is 10
$ rolldice
Your roll is 1 and 2 and your total is 3
I don't think I have Linux though.