Print this Post

Fun in Linux – sl – Steam Locomotive

Most of the Linux users know about the command ls which is used to list directories and files. Do you know what happens if you mistype the command ls? i.e sl instead of ls? Well,, it just says, “Command not found”. But, if you install a tiny program called sl (Steam Locomotive), it runs a train across your terminal when you mistype the command ls as sl. (See video)

Run this command to install sl (Steam Locomotive) in your Linux system. (Watch the video for demonstration)

$ sudo apt-get install sl

Then run sl to check the installation. So, the next time when you mistype the ls command as sl, you’ll see a Steam Locomotive running across your browser!

$ sl


More Fun!

Do you want to have more fun? Try these commands.

sl -a
(Something is gonna happen to the train. You’ll see people screaming Help Help!)

sl -l
(Runs a small train)

sl -F
(Train will fly away!)


Short Link:

About the author

Prasanna SP

Student | WordPress Dev | Tech Blogger | Interested in GNU/Linux, FOSS, PHP, Drupal, WordPress, Ethical hacking, Photography, Painting, Literature etc..

Permanent link to this article: http://www.prasannasp.net/fun-in-linux-sl-steam-locomotive/

1 comment

  1. thom


    long train at railway crossing 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

Please put your code snippet between <code> and </code>. Comment moderation is in use. Please do not submit your comment twice -- it will appear shortly.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.