What happens when you type ls -l in the shell When we write ls -l in the shell terminal and press enter, we get a list of the elements (files and folders) in the current directory along with formatted information, which in this case, shows permissions, date creation and owners, just like we can see in the following image