Steam Locomotive — a playful command that displays an ASCII train when you mistype ls.
sl displays a moving ASCII steam locomotive across your terminal screen. It was created as a humorous response to mistyping ls.
sl
# 1) Default locomotive sl
# 2) Smaller version sl -l
# 3) Accident mode sl -a
# 4) Flying steam sl -F
# 5) Combine options sl -laF
# 6) Install (Debian/Ubuntu) sudo apt install sl
# 7) Install (RHEL/Fedora) sudo dnf install sl
# 8) Install (Arch) sudo pacman -S sl
# 9) Alias for fun alias ls='sl'
# 10) Restore sanity unalias ls
Created in the 1990s as a playful reminder to type commands carefully. A long-standing Unix classic.