注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

红烧鱼

linux & windows management

 
 
 

日志

 
 
关于我
mac

专注IT基础架构设计与运维。 欢迎给我留言,或邮件沟通zjwsk@163.com

网易考拉推荐

令人发笑的搞怪linux Man Pages  

2009-01-03 20:10:07|  分类: Linux |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
http://www.junauza.com/2008/11/lol-with-funny-linux-man-pages.html

令人发笑的搞怪linuxMan Pages

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

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

来看一下‘funny-manpages吧:

令人发笑的搞怪linux Man Pages - 蓝色基因 - 蓝色地球screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" alt="" src="http://2.bp.blogspot.com/_UqUwVPikChs/SS_lS_j1krI/AAAAAAAAHrc/CWI-_8zboD0/s1600/funny1.jpg" onload="if(this.width<screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0<                               

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

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 :-)
  评论这张
 
阅读(551)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017