well, some applications ask sth like "unsaved documents, quitanyway?" etc. you wont be able to confirm that via shell so you wont be able to quit those apps properly. i just use kill (only with the apps where i know nothing bad can happen)
i just type "top" and choose my process and kill'em by...