Fortune For Mac

Original author(s)Ken Arnold
Initial release1979; 41 years ago
Operating systemUnix, Unix-like, Plan 9, Inferno

Fortune is a program that displays a pseudorandom message from a database of quotations that first appeared in Version 7 Unix. irrelevant citation The most common version on modern systems is the BSD fortune, originally written by Ken Arnold.Distributions of fortune are usually bundled with a collection of themed files, containing sayings like those found on fortune cookies (hence the name. In Wheel of Fortune, Pat Sajak guides you on a fun-filled trip around the world with new puzzles from the hit TV game show! Play thousands of other fans, friends and family for a huge prize! The winner of these word puzzles will come out on top with the ultimate jackpot! Fortune Magazine, 1986 This is the forgotten story of Den Fujita, an ambitious entrepreneur who spent his life introducing global brands and products to Japan. Fujita shunned traditional career paths and built his first company while still a law student.

fortune is a program that displays a pseudorandom message from a database of quotations that first appeared in Version 7 Unix.[1][irrelevant citation] The most common version on modern systems is the BSDfortune, originally written by Ken Arnold.[2] Distributions of fortune are usually bundled with a collection of themed files, containing sayings like those found on fortune cookies (hence the name), quotations from famous people, jokes, or poetry. As of November 2017, the quotations (with the exception of tips relevant to system operation) have been removed from FreeBSD entirely after user complaints regarding quotations from Adolf Hitler being contained in some of the files.[3]

fortune is predominantly found on Unix-like systems, but clients for other platforms also exist.[4] Often, users on text-mode Unix terminals will place this command into either their .profile or .logout files to display them at logon and logout, respectively. It is also used to generate text input for certain XScreenSaver modes. Many people choose to pipe fortune into the cowsay command, to add more humor to the dialog.


Most Unix systems use fortunes which are slanted heavily toward the user base of Unix, and thus contain many obscure jokes about computer science and computer programming. Other favoured sources include quotations from science fiction (Star Trek, The Cyberiad, Doctor Who, The Hitchhiker's Guide to the Galaxy, etc.), Zippy the Pinhead, and the writings of Ambrose Bierce and Dave Barry.[5] Most fortune collections also include a wide variety of more conventionally sourced quotations, jokes, and other short passages. A few distributions include 'offensive' dicta, which require the -a or -o options to be passed for viewing. These fortunes often include rude humor and profanity, personal attacks, and controversial comments about religion. Sometimes they are provided by another package, however as of FreeBSD 10.0 the offensive dicta have been removed completely.[6] The exact fortunes vary between each type of Unix, however there seems to be a strong overlap between the FreeBSD and OpenBSD fortune files. The Plan 9 fortune files seem to be much shorter, with many just on 1 line, and the 'offensive' dicta is much stronger. Most Linux distributions, such as Debian (and its derivatives), choose the FreeBSD fortunes to put in their fortune packages, that can be installed through the package manager.


One of the included fortunes, from the 'goedel' collection of fortunes about fortune itself, sums up the purpose of the program:

Fortune For Mac

The original fortune program could be used for the more general task of picking up a random line from a plain-text file. The example of such use is given in the rc documentation. However, in most modern Unix systems fortune cannot be used this way, since they use an ad hoc file format for fortune files to allow multiline aphorisms.

Fortune files[edit]


Conventional versions of fortune use two files for each quotation list: a text file with quotations, each separated by the character '%' on its own line, and a random-access data file generated by the strfile(1) program. Alternative implementations, including those made for display on Web pages, typically use only the text file.

Common options[edit]

Several common options exist that change the way command-line versions of fortune behave:

-aChoose from all databases, regardless of whether they are considered 'offensive' or not
-eMake the probability of choosing a fortune file equal to that of all other files
-fPrint out a list of all fortune files that would have been searched, but do not print a fortune
-iWhen used with -m, make regular expression searching case-insensitive
-lUse only quotations longer than the length specified with -n, or 160 characters if -n is not used
-m [pattern]Print all fortunes matching the regular expression specified in [pattern]
-n [length]Override the length used by -l and -s to determine 'long' and 'short' messages (default 160 characters)
-oChoose only from 'offensive' databases
-sUse only quotations shorter than the length specified with -n, or 160 characters if -n is not used
-wWait for a period of time before terminating; useful for situations in which a fortune needs to be read before the screen is cleared

See also[edit]


  1. ^'fortune -- Display Random Quotations'. Retrieved February 17, 2014.
  2. ^'[base] Contents of /head/usr.bin/fortune/fortune/fortune.c'. Retrieved 2018-09-15. This code is derived from software contributed to Berkeley by Ken Arnold.
  3. ^'[base] Revision 325828'. 2017-11-14. Retrieved 2018-04-14.
  4. ^An archive of fortunes files from various systems
  5. ^'Debian Sources: fortune 1:1.99.1-7, 'datfiles' folder'. Retrieved 2018-09-15.
  6. ^'Fortune - removal log'. FreeBSD SVN. FreeBSD. 2013-03-12. Retrieved 2014-06-14.

External links[edit]

  • fortune(1) – Plan 9 Programmer's Manual, Volume 1
  • fortune(6) – Linux Games Manual
  • The manual page for the original Unix fortune(6) command.
  • Maintenance version of fortune-mod's source code - on GitHub with new releases
    • – source code for fortune-mod program
Fortune For Mac
Retrieved from ''

As part of the Unified Community Platform project, your wiki has been migrated to the new platform. Read more here.

Maximum level


Primary items
Secondary items


Enchantment weight


Incompatible with

Fortune is an enchantment applied to mining and digging tools that increases the amount and/or chances of specific item drops. It does not increase experience drops.

  • 1Usage
    • 1.2Discrete random
  • 3Data values

Fortune Machine Isaac



For coal ore, diamond ore, emerald ore, lapis lazuli ore, nether gold ore, and nether quartz ore, Fortune I gives a 33% chance to multiply drops by 2 (averaging 33% increase), Fortune II gives a chance to multiply drops by 2 or 3 (25% chance each, averaging 75% increase), and Fortune III gives a chance to multiply drops by 2, 3, or 4 (20% chance each, averaging 120% increase).

Generally speaking, Fortune gives a weight of 2 to a normal drop chance and adds a weight of 1 for each extra drop multiplier. In short, when an ore is mined, the chance for no bonus drops is 2/(Fortune Level+2) and if a bonus is applied, there is an equal chance for any number of drops between 2 and Fortune Level+1

The formula to calculate the average drops multiplier is 1/(Fortune Level+2) + (Fortune Level+1)/2, which means Fortune IV gives 2.67x drops on average, Fortune V gives 3.14x drops on average, etc.

Mineral Drops
OreDropNo FortuneFortune IFortune IIFortune III
Coal OreCoal
  • 66% 1×
  • 33%

(avg. 1.33× - +33%)

  • 50% 1×
  • 25% 2×
  • 25%

(avg. 1.75x - +75%)

  • 40% 1×
  • 20%
  • 20%
  • 20% 4×

(avg. 2.2× - +120%)

Diamond OreDiamond
Emerald OreEmerald
Nether Gold Ore2-6 Gold Nuggets
Nether Quartz OreNether Quartz
Lapis Lazuli Ore4-9 Lapis Lazuli

Discrete random[edit]

Glowstone, melons, nether wart, redstone ore, sea lanterns, and sweet berries use a discrete uniform distribution, meaning each possible drop amount is equally likely to be dropped. Fortune increases the maximum number of drops by 1 per level. However, maximum drop limitations may apply: glowstone has a cap of 4 glowstone dust, sea lanterns have a cap of 5 prismarine crystals, and melons have a cap of 9 melon slices. If a drop higher than these maximums is rolled, it is rounded down to the cap.

Grass and ferns[edit]

Grass and ferns have a fixed chance, unaffected by Fortune, to drop wheat seeds. If the drop occurs, Fortune increases the maximum amount of seeds that can be dropped by 2, by affecting a discrete uniform distribution.

DropDrop AmountDrop Chance
No FortuneFortune IFortune IIFortune III
Wheat Seeds087.5%


Beetroots (seeds only), carrots, potatoes, and wheat (seeds only) use a binomial distribution. Fortune increases the number of tests for the distribution, and thus the maximum number of drops, by 1 per level.

The binomial distribution in the default case is created by rolling three times (n=3) with a drop probability of 57% (p=.57), creating the typical drop of 0-3 seeds. Carrots and potatoes modify this value by adding a few fixed drops.

Tabulated probabilities[edit]

Fortune increases the probability of flint dropping from gravel; saplings and sticks dropping from leaves; apples dropping from oak and dark oak leaves and gold nuggets dropping from gilded blackstone, and twisting vines and weeping vines dropping from themselves.

DropSourceNo FortuneFortune IFortune IIFortune IIIFortune IV+[n 1]
FlintGravel10% (110)14.29% (17)25% (14)100%
2-5 Gold NuggetsGilded Blackstone
Jungle SaplingsJungle Leaves2.5% (140)2.78% (136)3.125% (132)4.17% (124)10% (110)
Other SaplingsOther Leaves5% (120)6.25% (116)8.33% (112)10% (110)
1-2 SticksLeaves2% (150)2.22% (145)2.5% (140)3.33% (130)10% (110)
ApplesOak and Dark Oak Leaves0.5% (1200)0.556% (1180)0.625% (1160)0.833% (1120)2.5% (140)
Twisting Vines
Weeping Vines
33% (33100)55% (1120)77% (77100)100%
  1. Levels of Fortune higher than III are unobtainable except by using commands.


Silk Touch and Fortune are mutually exclusive. If commands are used to apply both Silk Touch and Fortune to an item, the Silk Touch enchantment takes precedence over the Fortune enchantment for blocks affected by both enchantments.

Data values[edit]


Fortune For Tomorrow

Java Edition:

NameNamespaced IDTranslation key
Fortunefortune enchantment.minecraft.fortune

Bedrock Edition:

Fortune For Android

Wheel of fortune for mac online

Wheel Of Fortune For Mac Online

NameNamespaced IDNumeric ID Translation key
Fortunefortune 18enchantment.lootBonusDigger


Java Edition
1.0.0Beta 1.9 Prerelease 3Added Fortune.
Fortune currently affects coal ore, diamond ore, lapis lazuli ore, glowstone, melons, nether wart, redstone ore, gravel, grass, and ferns.[verify]
1.3.112w21aAdded emerald ore, which is affected by Fortune.[verify]
1.4.212w34aAdded carrots, which are affected by Fortune.[verify]
1.513w01aAdded nether quartz ore, which is affected by Fortune.[verify]
13w09bPotatoes are now affected by Fortune.
The chance of oak leaves dropping apples is now increased with Fortune.
1.7.213w43aAdded dark oak leaves, which have a chance of dropping apples, which is increased by Fortune.[verify]
1.814w25aAdded sea lanterns, which are affected by Fortune.[verify]
1.915w31aAdded beetroots, which are affect by Fortune.[verify]
1.1418w43aLeaves now have a chance to drop sticks, which is increased by Fortune.
18w50aAdded sweet berry bushes, which are affected by Fortune.[verify]
1.1620w06aAdded weeping vines, which are affected by Fortune.
20w10aHoes can now be enchanted with Fortune.
20w11aAdded twisting vines, which are affected by Fortune.
20w12aNether gold ore now drops gold nuggets and is affected by Fortune.
20w15aAdded gilded blackstone, which is affected by Fortune.
Pocket Edition Alpha
0.12.1build 1Added Fortune.
Bedrock Edition
1.16.0beta‎Hoes can now be enchanted with Fortune.
Legacy Console Edition
TU7CU1 1.0 Patch 11.0.1Added Fortune.



Fortune For Pc

Issues relating to 'Fortune' are maintained on the bug tracker. Report issues there.

Founders Fortune For Mac

Retrieved from ''