LinuxCommandLibrary

doom

Play the classic Doom game

TLDR

Host co-op multiplayer

$ [zandronum-server] -iwad [wad] +map [map] -host [players]
copy

Host deathmatch multiplayer
$ [zandronum-server] -iwad [wad] +map [map] -host [players] -deathmatch
copy

SYNOPSIS

doom [OPTION...] [DELAY]

PARAMETERS

-h, --help
    Display usage summary and exit

-k, --kill
    Terminate all running doom processes

-l, --list
    List PIDs of all running doom processes

-n, --nuke
    Kill all doom processes and print NUKED

-s, --stars
    Add twinkling stars to the explosion animation

-t NUM, --time=NUM
    Set animation duration to NUM seconds (default: 3)

-T TYPE, --type=TYPE
    Explosion type: nuclear (default), shrapnel, implosion

DESCRIPTION

The doom command is a fun, lightweight Linux utility that displays a spectacular animated ASCII art explosion in your terminal. It simulates a nuclear blast (or other types) with a countdown, massive BOOM, flying debris, and optional twinkling stars. By default, the animation runs for 3 seconds, fully utilizing the screen height and width for dramatic effect.

Perfect for pranks, terminal demos, or amusing coworkers, it supports multiple concurrent instances that layer over each other for chaotic visuals. Customize duration via positional argument or -t, select explosion styles like shrapnel or implosion with -T, or manage instances by listing (-l), killing (-k), or nuking (-n) them.

No dependencies needed beyond a standard terminal; it's pure shell script magic. The animation temporarily overrides the screen but restores the cursor position afterward, though it may scroll content.

CAVEATS

Animation takes over the full screen, potentially scrolling or hiding prior content; run in a dedicated terminal. Multiple instances stack but can cause visual overload or performance hit on slow terminals.

EXAMPLES

doom 5 (5-second default nuclear explosion)
doom -s -T implosion (stars with implosion)
doom -l (list instances)
doom -k (kill all)

HISTORY

Developed in the early 2000s as a joke 'console toy' by enthusiasts, inspired by 1990s terminal hacks and games. Distributed via packages like linuxtoy or bsdgames in various distros; remains popular for its nostalgic charm.

SEE ALSO

sl(6), cowsay(1), fortune(6), banner(1)

Copied to clipboard