PDA

View Full Version : "l -sl" works?



soultrav
December 2nd, 2010, 08:07 AM
I accidentally wrote "l -sl" in my terminal instead of "ls -l"...and it worked! cool :D

Any ideas how that happened?

(btw, I am running version 10.10)

sisco311
December 2nd, 2010, 08:10 AM
l is an alias for ls -CF.

To list the aliases run

alias

soultrav
December 2nd, 2010, 08:13 AM
l is an alias for ls -CF.

To list the aliases run

alias

Ah, nice :D didn't thought of that :oops:

ad_267
December 2nd, 2010, 08:16 AM
Also, "-s" is a valid option and prints the file size in blocks.