✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Suppose you have a file called foo.txt, which contains the following text on two lines:
Edinburgh is the best city in Scotland.
We love Edinburgh!
What is the effect of executing the following command?
sed 's/Edinburgh/Glasgow/g' foo.txt