TranslateProject/sources/tech/20151215 Linux or UNIX Desktop Fun--Steam Locomotive.md
2015-12-15 10:47:10 +08:00

1.7 KiB
Raw Blame History

Linux / UNIX Desktop Fun: Steam Locomotive

One of the most common mistake is typing sl instead of ls command. I actually set an alias 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"

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 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出