rc: add `random' command