Replace string in a file within a range of line

Hi,

I want to replace the srting '; with ABCD'; in a file from line 1 to line 65. Is there any single command to do it without using awk

Thanks for quick reply

What's the problem with awk? Is this a homework question?

Regards

Try 'sed'

sed '1,65s/;/ABCD/' filename