Friday, January 15, 2016

How to install SL (Steam Locomotive) on Ubuntu

Alright let's do something fun today, let's play with program called 'sl' (steam locomotive), it's a prank program for those who want to run ls but type sl instead.

How to install sl
First you need to install sl on your ubuntu, open command prompt/console/terminal and run the apt-get install command like this:

sudo apt-get install sl

Don't worry about disk space, sl is a very tiny program only few kilobytes. Once installed go ahead type sl on your console/terminal/command line.


You should see an animation of locomotive, the idea is for someone who mistakenly type sl instead of ls, the will see the locomotive instead of list of directory.

The sl program have several parameters which makes it even more fun, here's list of the paramaters for steam locomotive sl.

sl -l
sl -a
sl -F

Steam locomotive (sl) is a very good program to install on multi users computer, if someone makes a mistake (typo) typing sl instead of ls, they will be surprised and maybe laugh.

How to uninstall sl
In case you had enough fun with sl, and you want to get rid of it, you can uninstall sl using this command:

sudo apt-get purge sl

No comments:

Post a Comment