How to Flash Arduino Program through "Micro sd card" without using Arduino IDE

hi sir,i tried to check second method of this link...

In the above link,
they mentioned like below "After recompiling the bootloader’s source files, I flashed the new bootloader using AVR ISP MK II. I also had to make sure that the BOOTRST fuse was set in the ATmega2560’s fuse settings."....here new bootloader means exactly,which file i need to flash....

can u please suggest linux commands to flash bootloader using arduino uno as isp programmer to arduino mega 2560?
Thank you in advance :slight_smile: