Now, let’s take a look at how we can use ls in different ways to get a variety of results by just following these steps:
- To take a look at the simple listing of files in a current directory, type ls:

- To get more information about the files and directories listed using the ls command, add a type identifier as shown here:

- When the preceding identifier is used, the executable files have an asterisk at the end of the name, while the directories have a slash, and so on. To check out details of files, such as the creation dates, ...