An open API service indexing awesome lists of open source software.

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

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.