Don't ever try to run this command:
%kill -9 -1
Unless you want to get booted out your login session and all your work might not be saved. If this command is run, all your foreground/background process' , open applications, documents, etc, are killed/terminated.
To logout from your...