← 返回命令列表

Linux command

wtf 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Expand

wtf [IMO]

Example

wtf -t comp [WWW]

说明

wtf expands acronyms by looking them up in a local database, returning all known meanings. It is part of bsdgames and ships with both a general acronym list and topical lists (e.g., comp for computer jargon). A bare invocation searches the default database; -t narrows the search to a particular acronym list. To extend the database, drop additional acronym files into the same directory or pass them with -f.

参数

-f _FILE_
Use _FILE_ as an additional acronym database (one _ACRONYM<TAB>expansion_ per line).
-o
Print expansions even when running in the is alias mode (_what is_ acronym).
-t _TYPE_
Restrict the lookup to a named acronym category. Default categories include _comp_ (computers), and any extra files installed under /usr/share/games/bsdgames/wtf/ or your local acronyms files.

FAQ

What is the wtf command used for?

wtf expands acronyms by looking them up in a local database, returning all known meanings. It is part of bsdgames and ships with both a general acronym list and topical lists (e.g., comp for computer jargon). A bare invocation searches the default database; -t narrows the search to a particular acronym list. To extend the database, drop additional acronym files into the same directory or pass them with -f.

How do I run a basic wtf example?

Run `wtf [IMO]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -f _FILE_ do in wtf?

Use _FILE_ as an additional acronym database (one _ACRONYM<TAB>expansion_ per line).