5

random number needed

view full story
linux-howto

http://unix.stackexchange.com – I need a command line script that will generate a random integer between 1 and 6. I'm using Ubuntu with bash. I was working on this a couple of months ago using 'bc', but never got it to work completely. I've since forgotten where I got to. (HowTos)