Which command shows only file names, with no extra information?
ls -a uses the standard short listing format, which displays names only, while also including hidden files. The other commands use -l, causing ls to display additional metadata such as permissions, ownership, size, and timestamps.
ls -a
-l
ls
Community Discussion