Quick tip: [bash] Execute multiple files in a directory at once

Today i created a bunch of scripts which i have to execute one by one from time to time. The order doesn’t matter. So i simply can execute this one-liner:

for script in *.pl ; do ./$script ; done

This entry was posted in Linux, Quick tip and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *