For those out of the loop, sl
is a humourous command line tool that is meant to trip people up if they mistype ls
. When invoked it prints a Steam Locomotive. For example:
( ) (@@) ( ) (@) () @@ O @ O @ O
(@@@)
( )
(@@@@)
( )
==== ________ ___________
_D _| |_______/ \__I_I_____===__|_________|
|(_)--- | H\________/ | | =|___ ___| _________________
/ | | H | | | | ||_| |_|| _| \_____A
| | | H |__--------------------| [___] | =| |
| ________|___H__/__|_____/[][]~\_______| | -| |
|/ | |-----------I_____I [][] [] D |=======|____|________________________|_
__/ =| o |=-O=====O=====O=====O \ ____Y___________|__|__________________________|_
|/-=|___|= || || || |_____/~\___/ |_D__D__D_| |_D__D__D_|
\_/ \__/ \__/ \__/ \__/ \_/ \_/ \_/ \_/ \_/
However, in the man page for sl
, it states the following bug:
BUGS
It rarely shows contents of current directory.
So, the question remains, are there some conditions, under which sl
actually does show the current directory?
alias l='ls'
. Fixed. – Anko Apr 15 '14 at 08:30| | | H |__--------------------| [___] | =| |
, sl shows them. – Mr Lister Apr 15 '14 at 10:46alias sl=ls
. – slm Apr 15 '14 at 12:53LS
in capital – Kiwy Apr 15 '14 at 12:55sl
will show the "contents of the current directory"... – Floris Apr 15 '14 at 16:27sl > /dev/null && ls
, I think the answer is no. – Elliott Frisch Apr 16 '14 at 14:54sl --help
? – Sapphire_Brick Aug 19 '20 at 22:13