I have a file containing a line like
https://abcdefgh.com/123/pqrst/456/xyz.html
So I want to search for this line in that file and replace the end part i.e. xyz.html with mno.html
Will take the mno.html as input in the shell script.
How to do that ?