Changing Long strings

Have you faced a situation where the string that you wish to changedoes not fit the command line? If the answer is Yes then you may beinterested in the following tipMy command line looks like belowCOMMAND ==> ____________________________________________________and I have to execute the following commandCHANGE A_VERY_VERY_VERY_VERY_LONNNNNNNNNNNNNNNNNNG_STRING TO A_NEW_STRINGThe above command is too big for the above command line.But where there is a will there is a way. The above can be achieved in the following manner.

Step 1:

First find the long string by using the following commandF A_VERY_VERY_VERY_VERY_LONNNNNNNNNNNNNNNNNNG_STRING

Step2:

and after executing the command, the string found is captured in*, so all you need to do is now change * to new stringC * A_NEW_STRING