From 9969d35f34951a71722790528ed33e1f467a8790 Mon Sep 17 00:00:00 2001 From: geekpi Date: Sun, 20 Dec 2015 14:42:49 +0800 Subject: [PATCH] translated --- ...x or UNIX Desktop Fun--Steam Locomotive.md | 41 ------------------- ...x or UNIX Desktop Fun--Steam Locomotive.md | 40 ++++++++++++++++++ 2 files changed, 40 insertions(+), 41 deletions(-) delete mode 100644 sources/tech/20151215 Linux or UNIX Desktop Fun--Steam Locomotive.md create mode 100644 translated/tech/20151215 Linux or UNIX Desktop Fun--Steam Locomotive.md diff --git a/sources/tech/20151215 Linux or UNIX Desktop Fun--Steam Locomotive.md b/sources/tech/20151215 Linux or UNIX Desktop Fun--Steam Locomotive.md deleted file mode 100644 index 89f80f6970..0000000000 --- a/sources/tech/20151215 Linux or UNIX Desktop Fun--Steam Locomotive.md +++ /dev/null @@ -1,41 +0,0 @@ -translating---geekpi - -Linux / UNIX Desktop Fun: Steam Locomotive -================================================================================ -One of the most [common mistake][1] is typing sl instead of ls command. I actually set [an alias][2] i.e. alias sl=ls; but then you may miss out the steam train with whistle. - -sl is a joke software or classic UNIX game. It is a steam locomotive runs across your screen if you type "sl" (Steam Locomotive) instead of "ls" by mistake. - -### Install sl ### - -Type the following command under Debian / Ubuntu Linux, enter: - - # apt-get install sl - -It is also available on FreeBSD and other UNIX like operating systems. Next, mistyped ls command as 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) - -Fig.01: Run steam locomotive across the screen if you type "sl" instead of "ls" - -It also supports the following options: - -- **-a** : An accident seems to happen. You'll feel pity for people who cry for help. -- **-l** : shows little one. -- **-F** : It flies. -- **-e** : Allow interrupt by Ctrl+C. - --------------------------------------------------------------------------------- - -via: http://www.cyberciti.biz/tips/displays-animations-when-accidentally-you-type-sl-instead-of-ls.html - -作者:Vivek Gite -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[1]:http://www.cyberciti.biz/tips/my-10-unix-command-line-mistakes.html -[2]:http://bash.cyberciti.biz/guide/Create_and_use_aliases diff --git a/translated/tech/20151215 Linux or UNIX Desktop Fun--Steam Locomotive.md b/translated/tech/20151215 Linux or UNIX Desktop Fun--Steam Locomotive.md new file mode 100644 index 0000000000..d97f0f3c68 --- /dev/null +++ b/translated/tech/20151215 Linux or UNIX Desktop Fun--Steam Locomotive.md @@ -0,0 +1,40 @@ +Linux/Unix 桌面趣事:蒸汽火车 +================================================================================ +一个[最常见的错误][1]是把ls输入成了sl。我已经设置了[一个alias][2],也就是alias sl=ls。但是你也许就错过了带汽笛的蒸汽小火车了。 + +sl是一个玩笑软件或是一个Unix游戏。它会在你错误地把“ls”输入成“sl”(Steam Locomotive)后出现一辆蒸汽火车穿过你的屏幕。 + +### 安装 sl ### + +在Debian/Ubuntu下输入下面的命令: + + # apt-get install 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”蒸汽火车会穿过你的屏幕。 + +It also supports the following options: +它同样支持下面的选项: + +- **-a** : 似乎发生了意外。你会哭喊求助的人们感到难过。 +- **-l** : 显示小一点的火车 +- **-F** : 它飞走 +- **-e** : 允许被Ctrl+C终端 + +-------------------------------------------------------------------------------- + +via: http://www.cyberciti.biz/tips/displays-animations-when-accidentally-you-type-sl-instead-of-ls.html + +作者:Vivek Gite +译者:[geekpi](https://github.com/geekpi) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[1]:http://www.cyberciti.biz/tips/my-10-unix-command-line-mistakes.html +[2]:http://bash.cyberciti.biz/guide/Create_and_use_aliases