Here is an example of a “for loop” that runs the command “lame” against a set of files in your current working directory with the .wav file extension. $ for f in *.wav ; do lame $f ; done