String Operations – Linux Command
To find a string and delete the whole line: find /var/www/vhosts/websitename/httpdocs/ -type f -exec sed -i ‘/.*pRn9c9o49ufczP0PKuPGuHHAGA.*/d’ {} \; To find a string and replace it with all the files: find /var/www/vhosts/websitename/httpdocs/ -type f -exec sed -i ‘s/<?echo/<?php echo/g’ {}… Read More »String Operations – Linux Command
