its like this i have a txt file with domains sorted like this :
they are almost 500 domains.
I want to run a command for each domain something like du -sh /mydomains/mydomain1.com/logfolder/
so I guess it has to be something like that du -sh /mydomains/$domains/logfolder/
how can I make the script read all the domains from the list, and each time replace the variable $domains and run the command till the list is over?