PUB:20151215 Linux or UNIX Desktop Fun--Steam Locomotive

@geekpi
This commit is contained in:
wxy 2015-12-25 14:59:34 +08:00
parent 98da95eb5a
commit 488427cd8b

View File

@ -1,30 +1,31 @@
Linux/Unix 桌面趣事:蒸汽火车
================================================================================
一个[最常见的错误][1]是把ls输入成了sl。我已经设置了[一个alias][2]也就是alias sl=ls。但是你也许就错过了带汽笛的蒸汽小火车了。
一个你[经常犯的错误][1]是把 ls 输入成了 sl。我已经设置了[一个别名][2],也就是 `alias sl=ls`。但是这样你也许就错过了这辆带汽笛的蒸汽小火车了。
sl是一个玩笑软件或是一个Unix游戏。它会在你错误地把“ls”输入成“sl”Steam Locomotive后出现一辆蒸汽火车穿过你的屏幕。
sl 是一个搞笑软件或,也是一个 Unix 游戏。它会在你错误地把“ls”输入成“sl”Steam Locomotive后出现一辆蒸汽火车穿过你的屏幕。
### 安装 sl ###
在Debian/Ubuntu下输入下面的命令
Debian/Ubuntu 下输入下面的命令:
# apt-get install sl
它同样也在Freebsd和其他类Unix的操作系统上存在。下面把ls输错成sl
它同样也在 Freebsd 和其他类Unix的操作系统上存在。
下面,让我们把 ls 输错成 sl
$ sl
![Fig.01: Run steam locomotive across the screen if you type "sl" instead of "ls"](http://files.cyberciti.biz/uploads/tips/2011/05/sl_command_steam_locomotive.png)
图01: 如果你把“ls”输入成“sl”蒸汽火车会穿过你的屏幕。
*图01: 如果你把 “ls” 输入成 “sl” 蒸汽火车会穿过你的屏幕。*
It also supports the following options:
它同样支持下面的选项:
- **-a** : 似乎发生了意外。你会哭喊求助的人们感到难过。
- **-a** : 似乎发生了意外。你会为那些哭喊求助的人们感到难过。
- **-l** : 显示小一点的火车
- **-F** : 它飞走
- **-e** : 允许被Ctrl+C终端
- **-F** : 它居然飞走
- **-e** : 允许被 Ctrl+C 中断
--------------------------------------------------------------------------------
@ -32,7 +33,7 @@ via: http://www.cyberciti.biz/tips/displays-animations-when-accidentally-you-typ
作者Vivek Gite
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出