Replace text at multiple files at Linux
To replace txt https://hostname.domain.com/3dpassport at many files at same folder to https://bbbbb.domain.com/3dpassport sed -i "s/https:\/\/hostname.domain.com/https:\/\/bbbbb.domain.com/g" `grep -l https://hostname.domain.com *` command explanation: grep -l will only output the file name. ``…