The sl command allows the train to run on the Linux Desktop
The sl command is an interesting command for running trains on Linux desktops.
A common mistake you make is to input ls into sl. I have set an alias, that is, alias sl = ls. However, you may have missed this steam train with a whistle.
Sl is a funny software or Unix game. It will show a Steam train passing through your screen after you mistakenly input "ls" into "sl" (Steam Locomotive.
Install sl
Run the following command In Debian/Ubuntu:
Bkjia @ bkjia :~ $ Sudo apt-get install sl
[Sudo] bkjia password:
Reading the package list... complete
Analyzing the dependency tree of the software package
Reading status information... complete
The following [new] software packages will be installed:
Sl
0 software packages are upgraded, 1 new software package is installed, 0 software packages are to be uninstalled, and 143 software packages are not upgraded.
Download the 25.6 kB software package.
After decompression, 117 kB of extra space will be consumed.
Get: 1 http://cn.archive.ubuntu.com/ubuntu/ wily/universe sl i386 3.03-17 [25.6 kB]
Download 25.6 kB, 1 second (18.2 kB/s)
Selecting the unselected Software Package sl.
(Reading the database... the system currently has 242091 files and directories installed .)
Preparing to unpack.../archives/sl_3.03-17_i386.deb...
Unpacking sl (3.03-17 )...
Processing the trigger for man-db (2.7.4-1...
Setting sl (3.03-17 )...
Bkjia @ bkjia :~ $
It also exists on Freebsd and other Unix-like operating systems.
Next, let's mistake ls to sl:
$ Sl
Figure: If you enter "ls" as "sl", the steam train will go through your screen.
It also supports the following options:
-A: It seems that an accident has occurred. You will feel sad for those who cry for help.
-L: displays a smaller train.
-F: it actually flew away.
-E: Ctrl + C interrupt allowed