The ls command is a utility in Linux, FreeBSD, and other Unix-like operating systems that is used to list the contents of a directory. By default, the ls command displays the names of the files and directories in the current directory.
Here are some examples of how you can use the ls command to examine the filesystem:
ls command with no arguments:ls
ls command:ls /path/to/directory
-a option:ls -a
-l option:ls -l
-t option:ls -t
-h option:ls -h
There are many other options available for the ls command, including options for displaying file timestamps, inode numbers, and more. You can learn more about the ls command by consulting the man page or by using the --help option.
man ls ls --help