mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
finish translation & review
This commit is contained in:
parent
51f0d58e61
commit
c3564ae017
@ -1,129 +0,0 @@
|
|||||||
translating by wwy-hust
|
|
||||||
|
|
||||||
Linux Humor on the Command-line
|
|
||||||
================================================================================
|
|
||||||
The desktop is full of eye candy. It enhances the visual experience and, in some cases, can also increase functionality of software. But it also makes software fun. Working on the command-line does not have to be always serious. If you want some fun on the command-line, there are lots of commands to raise a smile.
|
|
||||||
|
|
||||||
Linux is a fun operating system. Linux offers a vast collection of small open source utilities that perform functions ranging from the obvious to the bizarre. It is the quality and selection of these tools that help Linux stand out. Check out these 7 small utilities.
|
|
||||||
|
|
||||||
### lolcat ###
|
|
||||||
|
|
||||||
![lolcat](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-lolcat.png)
|
|
||||||
|
|
||||||
lolcat is a program that concatenates files, or standard input, to standard output (like the generic cat), and adds rainbow coloring to it.
|
|
||||||
|
|
||||||
lolcat is often combined with other tools such as toilet or figlet to generate text. This software should not be confused with a lolcat; an image macro of one or more cats.
|
|
||||||
|
|
||||||
lolcat was written by Moe.
|
|
||||||
|
|
||||||
Website: [github.com][1]
|
|
||||||
|
|
||||||
### cowsay ###
|
|
||||||
|
|
||||||
![cowsay](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-cowsay.png)
|
|
||||||
|
|
||||||
cowsay is a configurable open source program which generates ASCII pictures of a cow with a message in a speech bubble. cowsay is written in Perl.
|
|
||||||
|
|
||||||
cowsay is not limited to generating pictures of cows. It can generate pre-made images of other animals including a duck, elephant, koala, moose, pony, sheep, stegosaurus, and turkey, as well as cheese, snowman, and a skeleton.
|
|
||||||
|
|
||||||
There is a related program called cowthink, which generates cows with thought bubbles, as opposed to speech bubbles.
|
|
||||||
|
|
||||||
Features include:
|
|
||||||
|
|
||||||
- Make scripts more interesting
|
|
||||||
- Borg mode
|
|
||||||
- Ways to alter the way the cow looks, for example making the cow look greedy, paranoid, stoned, tired, wired, youthful and more
|
|
||||||
- xcowsay variant available
|
|
||||||
|
|
||||||
Website: [nog.net][2]
|
|
||||||
|
|
||||||
### doge ###
|
|
||||||
|
|
||||||
![doge](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-doge.png)
|
|
||||||
|
|
||||||
doge is a simple motd script based on the slightly stupid but very funny doge meme. It prints random grammatically incorrect statements that are sometimes based on things from your computer.
|
|
||||||
|
|
||||||
Doge is an Internet meme that became popular in 2013. The meme typically consists of a picture of a Shiba Inu accompanied by multicolored text in Comic Sans font in the foreground. The text, representing a kind of internal monologue, is deliberately written in a form of broken English.
|
|
||||||
|
|
||||||
- Randomly placed and colored random strings, complete with broken english
|
|
||||||
- Awesome Shibe in the terminal
|
|
||||||
- Fetching of system data, such as hostname, running processes, current user and $EDITOR
|
|
||||||
- If you have lolcat, you can do this gem: while true; do doge | lolcat -a -d 100 -s 100 -p 1; done
|
|
||||||
- stdin support: ls /usr/bin | doge will doge-print some of the executables found in /usr/bin. wow. There are also multiple command line switches that control filtering and statistical frequency of words
|
|
||||||
|
|
||||||
Website: [github.com/thiderman/doge][3]
|
|
||||||
|
|
||||||
### ASCIIQuarium ###
|
|
||||||
|
|
||||||
![Asciiquarium](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-Asciiquarium.png)
|
|
||||||
|
|
||||||
ASCIIQuarium is an aquarium/sea animation in ASCII art. Enjoy the fascinating creatures that live in the water from your computer.
|
|
||||||
|
|
||||||
To run ASCIIQuarium you need to have installed Perl's curses package, and the Term::Animation module. To install the former, type sudo apt-get install libcurses-perl. To install the latter, type sudo cpan Term::Animation, both at the command line.
|
|
||||||
|
|
||||||
Features include:
|
|
||||||
|
|
||||||
- Multicolored fish
|
|
||||||
- Amusing animations, including a fish hook
|
|
||||||
- There are swans, ducks, dolphins, and ships too
|
|
||||||
|
|
||||||
Website: [www.robobunny.com][4]
|
|
||||||
|
|
||||||
### sl - Steam Locomotive ###
|
|
||||||
|
|
||||||
![sl](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-sl.png)
|
|
||||||
|
|
||||||
sl is an amusing command line tool that displays animations to correct users who accidentally type sl instead of ls.
|
|
||||||
|
|
||||||
I'm rather sloppy at typing, preferring speed to accuracy. But typos can be a tad dangerous on the command line. So sl can serve as a practical reminder of curing a bad habit of mistyping. It always raises a chuckle too.
|
|
||||||
|
|
||||||
Features include:
|
|
||||||
|
|
||||||
- With -F, train flies
|
|
||||||
- With -l, it shows a small train
|
|
||||||
- With -a, an accident seems to happen
|
|
||||||
|
|
||||||
Website: [github.com/mtoyoda/sl][5]
|
|
||||||
|
|
||||||
### aafire ###
|
|
||||||
|
|
||||||
![aafire](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-aafire.png)
|
|
||||||
|
|
||||||
aafire displays burning ASCII art flames in the terminal. It demonstrates the the capabilities of the aalib library, an ascii art library.
|
|
||||||
|
|
||||||
Website: [aa-project.sourceforge.net/aalib][6]
|
|
||||||
|
|
||||||
### CMatrix ###
|
|
||||||
|
|
||||||
![CMatrix](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-CMatrix.png)
|
|
||||||
|
|
||||||
CMatrix is an ncurses program that simulates the display from "The Matrix". If you have been living in a cave for the past 15 years, you might not know The Matrix is a 1999 American science fiction acting film starring Keanu Reeves, Laurence Fishburne, Carrie-Anne Moss, Hugo Weaving, and Joe Pantoliano.
|
|
||||||
|
|
||||||
It works with terminal settings up to 132x300 and can scroll lines all at the same rate or asynchronously and at a user-defined speed.
|
|
||||||
|
|
||||||
Features include:
|
|
||||||
|
|
||||||
- Change the text colour
|
|
||||||
- Turn on bold characters
|
|
||||||
- Asynchronous scroll
|
|
||||||
- Use old-style scrolling
|
|
||||||
- "Screensaver" mode
|
|
||||||
|
|
||||||
Website: [www.asty.org/cmatrix][7]
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
via: http://www.linuxlinks.com/article/20150614112018846/Humor.html
|
|
||||||
|
|
||||||
译者:[译者ID](https://github.com/译者ID)
|
|
||||||
校对:[校对者ID](https://github.com/校对者ID)
|
|
||||||
|
|
||||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
|
|
||||||
|
|
||||||
[1]:https://github.com/busyloop/lolcat
|
|
||||||
[2]:https://web.archive.org/web/20120225123719/http://www.nog.net/%7Etony/warez/cowsay.shtml
|
|
||||||
[3]:https://github.com/thiderman/doge
|
|
||||||
[4]:http://www.robobunny.com/projects/asciiquarium/html/
|
|
||||||
[5]:https://github.com/mtoyoda/sl
|
|
||||||
[6]:http://aa-project.sourceforge.net/aalib/
|
|
||||||
[7]:http://www.asty.org/cmatrix/
|
|
127
translated/share/20150616 Linux Humor on the Command-line.md
Normal file
127
translated/share/20150616 Linux Humor on the Command-line.md
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
Linux命令行中的幽默
|
||||||
|
================================================================================
|
||||||
|
桌面通常是非常养眼的,它增强了可视化的体验,有时也能够增强某些软件的功能,以及让软件变得更有趣。在命令行下工作也不需要总是很严肃,如果您想在命令行下找些乐子,那么有很多命令可以让您展露微笑。
|
||||||
|
|
||||||
|
Linux是个有趣的操作系统。它提供大量的小型开源工具,从平淡无奇的软件到稀奇古怪的应用。这些工具的质量和可选择性帮助Linux脱颖而出。让我们一起来看看下面这七个小工具吧。
|
||||||
|
|
||||||
|
### lolcat ###
|
||||||
|
|
||||||
|
![lolcat](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-lolcat.png)
|
||||||
|
|
||||||
|
lolcat是一个连接文件或标准输入到标准输出(类似一般的cat)的程序,他会为输出添加七彩的颜色。
|
||||||
|
|
||||||
|
lolcat通常和其他诸如toilet或figlet等生成文本的应用结合使用。这个软件不应被误认为一个或多个猫的图像的宏。
|
||||||
|
|
||||||
|
lolcat由Moe编写。
|
||||||
|
|
||||||
|
网址: [github.com][1]
|
||||||
|
|
||||||
|
### cowsay ###
|
||||||
|
|
||||||
|
![cowsay](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-cowsay.png)
|
||||||
|
|
||||||
|
cowsay是一个可配置的开源软件,它用ASCII码生成奶牛的图片,并可以在对话气泡中显示消息。cowsay是用Perl写的。
|
||||||
|
|
||||||
|
cowsay并不仅仅只能显示奶牛。它能生成预先制作的图片或者其他动物,包括鸭子、考拉、麋鹿、小马、绵羊、剑龙和火鸡,以及奶酪、雪人和骨架。
|
||||||
|
|
||||||
|
有一个叫cowthink的应用,与对话的气泡不同,它能在生成奶牛的同时能生成思考的气泡。
|
||||||
|
|
||||||
|
功能包括:
|
||||||
|
|
||||||
|
- 让脚本变得更有趣
|
||||||
|
- Borg模式
|
||||||
|
- 可以更改奶牛看起来的样子,比如让奶牛看起来贪婪、偏执、固执、疲倦、古怪、年轻等
|
||||||
|
- 奶牛说话的内容可以修改
|
||||||
|
|
||||||
|
网址: [nog.net][2]
|
||||||
|
|
||||||
|
### doge ###
|
||||||
|
|
||||||
|
![doge](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-doge.png)
|
||||||
|
|
||||||
|
doge是一个基于有些愚蠢但很有趣的doge的梗的简单的每日信息脚本。它随机的打印一些在语法上有误的句子,有时这些句子基于您电脑中的东西。
|
||||||
|
|
||||||
|
doge是一个在2013年非常流行的互联网潮流元素(梗)。这个梗通常由一幅日本柴犬的图片和彩色的文字组成。这些文字故意用一种蹩脚的语气写成了一些互联网的独白。
|
||||||
|
|
||||||
|
- 随机的用不同的颜色和蹩脚的英语写下随机的句子
|
||||||
|
- 终端中的柴犬效果非常棒
|
||||||
|
- 获得系统数据,比如主机名、运行中的程序、当前用户、$EDITOR
|
||||||
|
- 如果您安装了lolcat,您可以用它作为点缀: while true; do doge | lolcat -a -d 100 -s 100 -p 1; done
|
||||||
|
- 标准输入支持: ls /usr/bin | doge 将打印一些/usr/bin下的可执行文件。哇噢。还有许多命令行的开关可以过滤词语以及控制词语的频率。
|
||||||
|
|
||||||
|
网址: [github.com/thiderman/doge][3]
|
||||||
|
|
||||||
|
### ASCIIQuarium ###
|
||||||
|
|
||||||
|
![Asciiquarium](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-Asciiquarium.png)
|
||||||
|
|
||||||
|
ASCIIQuarium是一个以ASCII码方式画出的水族馆/海洋动画。享受生活在您电脑中水底的奇妙生物吧。
|
||||||
|
|
||||||
|
想运行ASCIIQuarium,您需要安装Perl的curses包以及Term::Animation模块。请使用sudo apt-get install libcurses-perl来安装前者,使用sudo cpan Term::Animation来安装后者。两个命令都需要在终端中运行。
|
||||||
|
|
||||||
|
功能包括:
|
||||||
|
|
||||||
|
- 五彩的鱼儿
|
||||||
|
- 有趣的动画,包括钓鱼钩
|
||||||
|
- 还有许多的天鹅、鸭子、海豚和船只
|
||||||
|
|
||||||
|
网址: [www.robobunny.com][4]
|
||||||
|
|
||||||
|
### sl - 蒸汽机车 ###
|
||||||
|
|
||||||
|
![sl](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-sl.png)
|
||||||
|
|
||||||
|
sl是一个有趣的终端应用,它为那些意外的错将ls输成sl的用户显示一个动画。
|
||||||
|
|
||||||
|
我打字通常非常草率,更喜欢速度而不是准确性。但错别字在命令行中是非常危险的。因此sl作为一个实际的提醒者,提醒我们注意错误输入的这种坏习惯。它总是会让人咯咯的笑。
|
||||||
|
|
||||||
|
功能包括:
|
||||||
|
|
||||||
|
- 使用 -F, 火车在飞翔
|
||||||
|
- 使用 -l, 显示一个小型的火车
|
||||||
|
- 使用 -a, 看上去发生了意外
|
||||||
|
|
||||||
|
网址: [github.com/mtoyoda/sl][5]
|
||||||
|
|
||||||
|
### aafire ###
|
||||||
|
|
||||||
|
![aafire](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-aafire.png)
|
||||||
|
|
||||||
|
aafire在终端中显示燃烧的ASCII火焰。它展示了一个ascii艺术库 - aalib库的强大能力。
|
||||||
|
|
||||||
|
网址: [aa-project.sourceforge.net/aalib][6]
|
||||||
|
|
||||||
|
### CMatrix ###
|
||||||
|
|
||||||
|
![CMatrix](http://www.linuxlinks.com/portal/content/reviews/Misc/Screenshot-CMatrix.png)
|
||||||
|
|
||||||
|
CMatrix是一个基于ncurses的程序,它模拟《黑客帝国》(一部电影)中的画面。如果您在一个山洞里度过了上个15年,那么您可能不知道黑客帝国是1999年的美国科幻电影,主角为 Keanu Reeves, Laurence Fishburne, Carrie-Anne Moss, Hugo Weaving和 Joe Pantoliano。
|
||||||
|
|
||||||
|
它可以在终端设置为132x300的情况下工作,并且可以以同样的速率进行滚动或者以用户定义的速度进行异步的滚动。
|
||||||
|
|
||||||
|
功能包括:
|
||||||
|
|
||||||
|
- 修改文本颜色
|
||||||
|
- 使用粗体字符
|
||||||
|
- 异步滚动
|
||||||
|
- 使用老式的滚动效果
|
||||||
|
- 屏幕保护程序模式
|
||||||
|
|
||||||
|
网址: [www.asty.org/cmatrix][7]
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
via: http://www.linuxlinks.com/article/20150614112018846/Humor.html
|
||||||
|
|
||||||
|
译者:[wwy-hust](https://github.com/wwy-hust)
|
||||||
|
校对:[校对者ID](https://github.com/校对者ID)
|
||||||
|
|
||||||
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||||
|
|
||||||
|
[1]:https://github.com/busyloop/lolcat
|
||||||
|
[2]:https://web.archive.org/web/20120225123719/http://www.nog.net/%7Etony/warez/cowsay.shtml
|
||||||
|
[3]:https://github.com/thiderman/doge
|
||||||
|
[4]:http://www.robobunny.com/projects/asciiquarium/html/
|
||||||
|
[5]:https://github.com/mtoyoda/sl
|
||||||
|
[6]:http://aa-project.sourceforge.net/aalib/
|
||||||
|
[7]:http://www.asty.org/cmatrix/
|
Loading…
Reference in New Issue
Block a user