LinuxCommandLibrary

hangman

classic word-guessing game

TLDR

Start hangman game

$ hangman
copy
Use custom word list
$ hangman -w [wordlist.txt]
copy
Set word length
$ hangman -l [8]
copy

SYNOPSIS

hangman [options]

DESCRIPTION

hangman is a classic word-guessing game. Players guess letters to reveal a hidden word before making too many wrong guesses.
The game displays the gallows and tracks incorrect guesses. It uses the system dictionary or a custom word list for challenges.

PARAMETERS

-w FILE

Word list file.
-l LEN
Minimum word length.
-k
Show keyboard.
--help
Display help information.

CAVEATS

Part of BSD games. Requires /usr/share/dict/words or custom list. Terminal-based display.

HISTORY

hangman has been part of BSD games collection since early Unix systems, providing terminal entertainment.

SEE ALSO

bsdgames(6), words(4), fortune(6)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community