Bash read file names from a text file and take action

Bash read file names from a text file and take action

I need to read a list of file names from a text file named input.txt and take action each file name. How do I read file names from a text file and say run /bin/foo command on each file? How do I read filenames from a text file and take certain action on those files?

The post Bash read file names from a text file and take action appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Leave a Reply

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