I’m trying to learn linux commands, but the output wasn’t what I expected.
Answer
ls -1
(one) and ls -l
(ell) both work, but produce different listings. Your textbook shows ls -l
; in your terminal you have typed ls -1
.
man ls
on your local system for an explanation of all the available options.