Step by Step, Command ls *.c

Image 1. Capture output of the command
Image 2. Prompt examples.
Image 3. ls output

But… wait a minute our instruccion is ls *.c

Okay, we already know that we are going to list directories or files, but what about the ls companions, let’s see.

Image 4. Wildcards

Now we have it, let’s break it down…

  1. write our command, instruction
  2. find ls, which gives us a list of files and directories
  3. the *, select some files or directories from our list.
  4. .c, specify the selection

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store