lolwut.3valkey - Man Page
Displays computer art and the server version
Synopsis
LOLWUT
[VERSION
version]
Description
The LOLWUT command displays the Valkey version: however as a side effect of doing so, it also creates a piece of generative computer art that is different with each version of Valkey.
By default the LOLWUT
command will display the piece corresponding to the current Valkey version, however it is possible to display a specific version using the following form:
LOLWUT VERSION 7 ... other optional arguments ...
Of course the ā7ā above is an example. Each LOLWUT version takes a different set of arguments in order to change the output. The user is encouraged to play with it to discover how the output changes adding more numerical arguments.
LOLWUT wants to be a reminder that there is more in programming than just putting some code together in order to create something useful. Every LOLWUT version should have the following properties:
- It should display some computer art. There are no limits as long as the output works well in a normal terminal display. However the output should not be limited to graphics (like LOLWUT 7 and 8 actually do), but can be generative poetry and other non graphical things.
- LOLWUT output should be completely useless. Displaying some useful Valkey internal metrics does not count as a valid LOLWUT.
- LOLWUT output should be fast to generate so that the command can be called in production instances without issues. It should remain fast even when the user experiments with odd parameters.
- LOLWUT implementations should be safe and carefully checked for security, and resist to untrusted inputs if they take arguments.
- LOLWUT must always display the Valkey version at the end.
Reply
Resp2
valkey-protocol(7) Bulk string reply: a string containing generative computer art and the Valkey version.
Resp3
valkey-protocol(7) Verbatim string reply: a string containing generative computer art and the Valkey version.
Acl Categories
@fast @read
History
- Available since: 5.0.0
See Also
acl(3valkey), acl-cat(3valkey), acl-deluser(3valkey), acl-dryrun(3valkey), acl-genpass(3valkey), acl-getuser(3valkey), acl-help(3valkey), acl-list(3valkey), acl-load(3valkey), acl-log(3valkey), acl-save(3valkey), acl-setuser(3valkey), acl-users(3valkey), acl-whoami(3valkey), bgrewriteaof(3valkey), bgsave(3valkey), command(3valkey), command-count(3valkey), command-docs(3valkey), command-getkeys(3valkey), command-getkeysandflags(3valkey), command-help(3valkey), command-info(3valkey), command-list(3valkey), config(3valkey), config-get(3valkey), config-help(3valkey), config-resetstat(3valkey), config-rewrite(3valkey), config-set(3valkey), dbsize(3valkey), debug(3valkey), failover(3valkey), flushall(3valkey), flushdb(3valkey), info(3valkey), lastsave(3valkey), latency(3valkey), latency-doctor(3valkey), latency-graph(3valkey), latency-help(3valkey), latency-histogram(3valkey), latency-history(3valkey), latency-latest(3valkey), latency-reset(3valkey), memory(3valkey), memory-doctor(3valkey), memory-help(3valkey), memory-malloc-stats(3valkey), memory-purge(3valkey), memory-stats(3valkey), memory-usage(3valkey), module(3valkey), module-help(3valkey), module-list(3valkey), module-load(3valkey), module-loadex(3valkey), module-unload(3valkey), monitor(3valkey), psync(3valkey), replconf(3valkey), replicaof(3valkey), restore-asking(3valkey), role(3valkey), save(3valkey), shutdown(3valkey), slowlog(3valkey), slowlog-get(3valkey), slowlog-help(3valkey), slowlog-len(3valkey), slowlog-reset(3valkey), swapdb(3valkey), sync(3valkey), time(3valkey)