List directory contents. The ls command is used to list out files and directories. Some versions may support color-coding. The names in blue represent the names of directories.
ls -l filename
The ls command displays detailed information about files and directories found in the file system. It's part of the GNU core utilities package, which comes standard with every Linux distribution.
ls
ls [flags] [directory]
ls
ls [directory path here]
ls /
ls ..
ls ../..
ls ~
ls -d */
ls *
ls -R
ls -s
ls -l
ls -lh
ls -a
ls -l -a
ls -a -l
ls -la
ls -al
ls -t
ls -S
ls -Sr
-r
ls > output.txt
it shows all the files with complete data
ls -la
its sows all the files (hidden & normal)
ls -a
Lists directory contents.
ls -l