<s>
fortune	O
is	O
a	O
program	O
that	O
displays	O
a	O
pseudorandom	B-Error_Name
message	O
from	O
a	O
database	O
of	O
quotations	O
that	O
first	O
appeared	O
in	O
Version	B-Operating_System
7	I-Operating_System
Unix	I-Operating_System
.	O
</s>
<s>
The	O
most	O
common	O
version	O
on	O
modern	O
systems	O
is	O
the	O
BSD	B-Operating_System
fortune	O
,	O
originally	O
written	O
by	O
Ken	O
Arnold	O
.	O
</s>
<s>
As	O
of	O
November	O
2017	O
,	O
the	O
quotations	O
(	O
with	O
the	O
exception	O
of	O
tips	O
relevant	O
to	O
system	O
operation	O
)	O
have	O
been	O
removed	O
from	O
FreeBSD	B-Operating_System
entirely	O
after	O
user	O
complaints	O
regarding	O
quotations	O
from	O
Adolf	O
Hitler	O
being	O
contained	O
in	O
some	O
of	O
the	O
files	O
.	O
</s>
<s>
fortune	O
is	O
predominantly	O
found	O
on	O
Unix-like	B-Operating_System
systems	I-Operating_System
,	O
but	O
clients	O
for	O
other	O
platforms	O
also	O
exist	O
.	O
</s>
<s>
Often	O
,	O
users	O
on	O
text-mode	O
Unix	B-Application
terminals	O
will	O
place	O
this	O
command	B-Application
into	O
either	O
their	O
.profile	O
or	O
.logout	O
files	O
to	O
display	O
them	O
at	O
logon	O
and	O
logout	O
,	O
respectively	O
.	O
</s>
<s>
It	O
is	O
also	O
used	O
to	O
generate	O
text	O
input	O
for	O
certain	O
XScreenSaver	B-General_Concept
modes	O
.	O
</s>
<s>
It	O
is	O
possible	O
to	O
pipe	O
fortune	O
into	O
the	O
cowsay	B-Protocol
command	B-Application
,	O
to	O
add	O
more	O
humor	O
to	O
the	O
dialog	O
.	O
</s>
<s>
Most	O
Unix	B-Application
systems	I-Application
use	O
fortunes	O
which	O
are	O
slanted	O
heavily	O
toward	O
the	O
user	O
base	O
of	O
Unix	B-Application
,	O
and	O
thus	O
contain	O
many	O
obscure	O
jokes	O
about	O
computer	B-General_Concept
science	I-General_Concept
and	O
computer	B-General_Concept
programming	I-General_Concept
.	O
</s>
<s>
Other	O
favoured	O
sources	O
include	O
quotations	O
from	O
science	O
fiction	O
(	O
Star	B-Operating_System
Trek	I-Operating_System
,	O
The	O
Cyberiad	O
,	O
Doctor	O
Who	O
,	O
The	B-Application
Hitchhiker	I-Application
's	I-Application
Guide	I-Application
to	I-Application
the	I-Application
Galaxy	I-Application
,	O
etc	O
.	O
</s>
<s>
Sometimes	O
they	O
are	O
provided	O
by	O
another	O
package	O
,	O
however	O
as	O
of	O
FreeBSD	B-Operating_System
10.0	O
the	O
offensive	O
dicta	O
have	O
been	O
removed	O
completely	O
.	O
</s>
<s>
The	O
exact	O
fortunes	O
vary	O
between	O
each	O
type	O
of	O
Unix	B-Application
,	O
however	O
there	O
seems	O
to	O
be	O
a	O
strong	O
overlap	O
between	O
the	O
FreeBSD	B-Operating_System
and	O
OpenBSD	B-Operating_System
fortune	O
files	O
.	O
</s>
<s>
The	O
Plan	B-Operating_System
9	I-Operating_System
fortune	O
files	O
seem	O
to	O
be	O
much	O
shorter	O
,	O
with	O
many	O
just	O
on	O
1	O
line	O
,	O
and	O
the	O
'	O
offensive	O
 '	O
dicta	O
is	O
much	O
stronger	O
.	O
</s>
<s>
Most	O
Linux	O
distributions	O
,	O
such	O
as	O
Debian	O
(	O
and	O
its	O
derivatives	O
)	O
,	O
choose	O
the	O
FreeBSD	B-Operating_System
fortunes	O
to	O
put	O
in	O
their	O
fortune	O
packages	O
,	O
that	O
can	O
be	O
installed	O
through	O
the	O
package	O
manager	O
.	O
</s>
<s>
However	O
,	O
in	O
most	O
modern	O
Unix	B-Application
systems	I-Application
fortune	O
cannot	O
be	O
used	O
this	O
way	O
,	O
since	O
they	O
use	O
an	O
ad	O
hoc	O
file	O
format	O
for	O
fortune	O
files	O
to	O
allow	O
multiline	O
aphorisms	O
.	O
</s>
<s>
Several	O
common	O
options	O
exist	O
that	O
change	O
the	O
way	O
command-line	O
versions	O
of	O
fortune	O
behave	O
:	O
</s>
