Arduino programing lost after reset/powercycle

Just to confirm, I run this script inside the following directory?
/Users/touch/Library/Arduino15/packages/sifive/hardware/riscv/1.0.2/ ??

And where is this flash.lds file if not already in the directory indicated in the shell script? (it isn’t)