https://github.com/tleguern/rr
Russian Roulette
https://github.com/tleguern/rr
russian-roulette shell
Last synced: about 1 year ago
JSON representation
Russian Roulette
- Host: GitHub
- URL: https://github.com/tleguern/rr
- Owner: tleguern
- License: other
- Created: 2015-09-14T14:51:38.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2021-12-26T23:18:44.000Z (over 4 years ago)
- Last Synced: 2025-02-13T09:18:05.824Z (over 1 year ago)
- Topics: russian-roulette, shell
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rr
Russian roulette for UNIX systems.
## Contents
1. [Synopsis](#synopsis)
2. [Install](#install)
3. [License](#license)
## Synopsis
rr
The rr utility chooses five random executable from your $PATH and mix them
with /bin/rm to simulate a revolving cylinder of six chambers. Another
random selection is performed and the picked utility is executed with the
arguments `-rf $HOME`. Beware that some of the utilities will complains
about “invalid options”.
This script was implemented after a pun I read somewhere. This page will
be updated if I ever found it the source again.
The random selection is performed using either jot(1), shuf(1) or a
terrible internal system.
## Install
To install globally:
$ make
# make install
To install in your `$HOME/bin`:
$ DESTDIR=~/ make install
## License
This code is public domain.