Chinaunix首页 | 论坛 | 博客
  • 博客访问: 98656
  • 博文数量: 18
  • 博客积分: 2264
  • 博客等级: 大尉
  • 技术积分: 270
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-13 21:46
文章分类

全部博文(18)

文章存档

2010年(1)

2009年(1)

2008年(16)

我的朋友

分类: LINUX

2008-11-30 16:01:27



令人发笑的搞怪linuxMan Pages

最近你是不是感觉有点Down?为什么不打开一个Linux的终端来阅读一些Man Pages呢。当然,不是那些有时看起来让我们头晕脑转的      manpages。我说的是搞怪manpages,能让你开怀一笑。

首先,你必须通过包管理器安装‘funny-manpages软件包(假设你使用的是Ubuntu)。

来看一下‘funny-manpages吧:

                              

如果你没有仔细阅读说明,将会有一个警告:

Aset of miscellaneous humorous manpages (don't take them tooseriously!).
Includes, amongst others, rtfm (1).
Warning! Someof these manpages might be treated offensive.
You've been warned.

(一套五花八门的幽默manpages(不要对他们太认真!)。
其中包括,除其他外,rtfm1)。
警告!其中的一些manpages可能被做了令人不悦的处理。
您已被警告。)

您也可以通过命令行安装funny-manpages包。
代码如下(假设你使用Ubuntu的):

sudoapt-get install funny-manpages

现在通过使用‘man’命令开始阅读的幽默的manpages

这是一个有趣的例子...

代码:

man baby
输出:

NAME
baby- create new process from two parents

SYNOPSIS
baby -sex[m|f] [-name name]

DESCRIPTION
baby is initiated when oneparent process polls another server process
through a socketconnection in the BSD version or through pipes in the
System Vimplementation. baby runs at low priority for approximately
fortyweeks and then terminates with a heavy system load. Mostsystems
require constant monitoring when baby reaches its finalstages of exe_
cution.

Older implementations of baby didnot require both initiating processes
to be present at the time ofcompletion. In those versions the initi_
ating process which wasnot present was awakened and notified of the
results uponcompletion. It has since been determined that the pres_
ence ofboth parent processes result in a generally lower system load
atcompletion, and thus current versions of baby expect bothparent
processes to be active during the final stages.

Successfulcompletion of baby results in the creation and naming of a
newprocess. Parent processes then broadcast messages to allother
processes, local and remote, informing them of their newstatus.

OPTIONS
-sex define the gender of the createdprocess

-name assign the name name to the newprocess

EXAMPLES
baby -sex f -name Jacqueline

completedsuccessfully on July 9, 1992 at 9:11pm. Jacqueline'svital
statistics: 8 pounds 3 oz, 20 inches, long dark hair. Theparent pro_
cess, Kim Dunbar, is reportedly doing fine.

SEEALSO
cigar(6), dump(5), cry(3).

BUGS
Despite itscomplexity, baby only knows one signal, SIGCHLD, (or SIGCLD
in theSystem V implementation), which it uses to contact theparent
processes. One or both parent processes must then inspectthe baby
process to determine the cause of the signal.

Thesleep(1) command may not work as expected on either parentprocess
for some time afterward, as each new instance of babysends intermit_
tent signals to the parent processes which must behandled by the par_
ents immediately.

A baby process willfrequently dump core, requiring either or both par_
ent processesto clean up after it.

Despite the reams of availabledocumentation on invoking and maintain_
ing baby, most parentprocesses are overwhelmed.

AUTHORS
From a man page by JoeBeck, .


                                

按照如下关键字用‘man’命令阅读其他有趣的manpages

celibacy
condom
date
echo
flame
flog
gong
grope,egrope, fgrope
party
rescrog
rm
rtfm
tm
uubp
xkill
xlart
sex
strfry


生活是美好的。享受生活。使用linux :-)
阅读(786) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~