How do I create advancedsettings.xml?

Sorry but I’m baffled. I’ve logged in via remote SSH and I just want to create an advancedsettings.xml so that OSMC doesn’t scrape my Extras folders. I’ve created an XML file but I can’t for the life of me figure out how I get this local XML file into the right place on the Vero! Thanks for any help.

customized advancedsettings.xml should be located at /home/osmc/.kodi/userdata

nano ~/.kodi/userdata/advancedsettings.xml

Copy and paste from what you already created, and then ctrl-x, y, and then enter to save the file and exit.