Script to delete a line from a file if it have a particular pattern sed -i "/"pattern"/d" filename find /home/…