Linux: * DRM-free: ~/.config/UNDERTALE_linux * Steam: ~/.config/UNDERTALE_linux_steamver.
If you're not playing the Steam version of the game, the simplest method to remove the consequences of completing a genocide run is to fully uninstall and reinstall the game. (Default on Windows: \AppData\Local\UNDERTALE) While it's possible to clear these files out, it's complicated, and a simpler solution exists on Windows if you have sufficient access rights on your computer. Steam Cloud will automatically restore those files, and it also keeps a local cache of the files to restore them even if you're offline. If you're running the Steam version of the game, deleting files in the save directory won't be enough.