ls *.c

nehpets0701
1 min readSep 16, 2020

--

When you type “ls *.c” into the shell, several steps take place. The “ls” command by itself prints a list of what is inside the current working directory. The “*” is what is known as a wildcard. This indicates that “ls” should only print files that end with what comes after the “*”, in this case, “.c”. It then takes these files and prints them to the display.

--

--

nehpets0701
nehpets0701

No responses yet