I just mistyped ls
as la
. Without noticing, I ran it:
tim@Hairy:~$ la
detection.sh output-2.jpg output-4.jpg output-6.jpg output-8.jpg Test1.pdf
output-1.jpg output-3.jpg output-5.jpg output-7.jpg output-9.jpg
tim@Hairy:~$ ls
detection.sh output-2.jpg output-4.jpg output-6.jpg output-8.jpg Test1.pdf
output-1.jpg output-3.jpg output-5.jpg output-7.jpg output-9.jpg
What's the difference between ls
and la
?
Best Answer
From
.bashrc
file in your home directory, we have these aliases:la
is just an alias ofls
with just the-A
option.From
man ls