Is there any way to request a program to exit gracefully from an SSH client?
I've got XBMC running in raspbian and so far the only way I can see to exit it is to manually navigate to the exit button and tell it to end. Does anyone know if I can request for it to exit gracefully from SSH and if so how? I recall reading somewhere that one should exit XBMC before shutting down the PI otherwise you run the risk of corruption and I would rather avoid that.