- If you're using Edgy, you will have to make the first line of your script:
#!/bin/bash
- I do this for all of my scripts, and to make it global as well run this command:
$ sudo dpkg-reconfigure dash
and answer no. Edgy's default shell interpreter is Dash, not Bash. That's why the $RANDOM did nto work before that.
