The FUN command group contains light-hearted, interactive commands designed to make the terminal more enjoyable.
These commands aren’t essential to operations, but they enhance engagement and give the terminal personality.
To view this group inside the terminal:
help fun
You will see:
FUN commands:
hi - Say hello.
random min max - Generates a random integer between min and max. Use without arguments for 1–100.
dice - Roll virtual dice. Examples: dice, dice d20, dice 3d6.
Below is a complete explanation of each command.
1. hi — Say Hello #
A simple friendly interaction command.
Example:
hi
Expected output:
Hello!
This is usually the first fun command users discover, and it helps demonstrate how immediate text output works.
2. random min max — Random Number Generator #
Generates a random integer.
Usage: #
With no arguments (default range 1–100): #
random
With custom minimum and maximum: #
random 5 20
random 100 1000
random 0 9999
Output example: #
Random (5–20): 13
Useful for:
- fun interactions
- simple games
- teaching users about command arguments
3. dice — Dice Roller #
Rolls virtual dice in multiple formats.
Usage Examples: #
Basic roll (default d6): #
dice
Roll a single die with custom sides: #
dice d20
dice d12
Roll multiple dice: #
dice 3d6
dice 4d10
Output example: #
Rolling 3d6...
Results: 4, 2, 6 (Total: 12)
This command is great for:
- interactive communities
- game-based systems
- gamification workflows
- experimenting with multi-value command arguments
Summary #
The FUN group includes:
✔ hi — friendly greeting #
✔ random — random number generator (supports ranges) #
✔ dice — dice roller with advanced formats #
These commands help users experiment with the terminal and enjoy interacting with it, making the experience more human and engaging.