I have files which contain more than 2,00,000 lines in file i. e. abc.log file in that I want to copy line 600 to 750 and 40,000 to 60,000 in VI mode and paste new txt files
11 Answer
In normal mode (use Esc if you are currently in insert mode)
:600,750w new_file_name1and
:40000,60000w new_file_name2 0