What happens when you type `ls *.c`
The script `ls *.c` is a command substitution written in an alternate syntax for use in older shell programs. The syntax is still supported in bash. In updated syntax it would be: $(ls *.c). The script calls for the terminal to list all the files in the current directory ending in .c .