[all variants] How do I use ^str^str syntax to replace all matches?

view story

http://ubuntuforums.org – Suppose I run the following command. Code: sgy@za-box:~$ cp -v .profile /data/ibook/sgy/misc/.profile-za-box Now, I would like to perform the same operation but with file .inputrc. The following gets me close: Code: sgy@za-box:~$ ^.profile^.inputrc cp -v .inputrc /data/ibook/sgy/misc/.profile-za-box `.inputrc' -> `/data/ibook/sgy/misc/.profile-za-box' But I would like to make the string substitution at all matches, not just the first. How do I do that? Where would I look for the answer? Thanks. (Hardware)