commit briefs
c1fb42d
Emilia Smólska
·
2026-06-22
bbc0248
Emilia Smólska
·
2026-06-22
8efa043
Emilia Smólska
·
2026-06-22
7c411a5
Emilia Smólska
·
2026-06-21
3eda5bb
Emilia Smólska
·
2026-06-21
993a5e1
Emilia Smólska
·
2026-06-21
45af142
Emilia Smólska
·
2026-06-21
4648d4b
Emilia Smólska
·
2026-06-21
readme
| DICE(6) | Games Manual | DICE(6) |
NAME
dice — dice roller
and coin flipper
SYNOPSIS
dice |
-C [-q] |
dice |
-S [-q] |
dice |
[-q] expr |
DESCRIPTION
The dice utility displays pseudorandom
results of specified dice roll or coinflip expressions. It accepts the
following flags:
-C- Flip a coin, displaying “heads” or “tails”. If
-qis specified, display “0” or “1” instead. -S- Parse a line read from standard input instead of expr.
-q- Be quieter.
If -c is not specified, an expression in
the form
xdy[+xdy]...
is parsed and randomly evaluated. Unless -q is
specified, the expression is printed before the result, followed by an
equals sign.
EXIT STATUS
The dice utility exits 0 on
success, and >0 if an error occurs.
SEE ALSO
| August 7, 2026 | Linux 6.18.35-0-lts |