¿What happens when you type ls *.c?
This blog is about ls command in linux. The idea is explain how it works and we other navigations options exist.
Before to explain the command ls *.c is necessary to explain what is ls.
ls means “List files and Directories”. If you want to see what are the files or directories you have in your directory, just type “ls” and Enter.
The files will be showed in alphabetical order


“*” character means match any characters in a filename so if we type “ls *” we will see a similar result.

Now, ¿What happens when you type ls *.c?, when you type “ls *.c” you are saying that you want to see all the files, where their extension are “c”.
