LinuxCommandLibrary

worms

Display creeping, growing worms on the terminal

SYNOPSIS

worms [-n number] [-s speed] [-s] [number]

PARAMETERS

-n number
    Specifies the number of worms to display. If omitted, the default is 3.

-s speed
    Sets the speed of the worms. A higher number means faster movement. If omitted, the default is 1.

number
    Equivalent to -n number and supported for backwards compatibility only.

DESCRIPTION

The worms command is a simple, terminal-based program that displays moving, segmented lines resembling worms crawling across the screen. It's primarily a novelty program, used for entertainment or to add a quirky visual effect to a terminal session. The worms randomly change direction, providing a dynamic and unpredictable animation. The command offers a limited number of options to control the number of worms and the speed of their movement. It's a lightweight program, not designed for serious or practical tasks, but rather for adding some visual amusement to a command-line environment.
The user must terminate the program with Ctrl+C.

CAVEATS

The worms program continues running until manually terminated with Ctrl+C.

USAGE EXAMPLES

To start with the default settings type
worms
To create five worms, type
worms -n 5
to speed up the animation type
worms -s 3

SEE ALSO

sl(6)

Copied to clipboard