Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a script which is located in /etc/init.d to run a jar program. I need a batch file to kill this jar program after login, is there anyone know how to do it?

share|improve this question
Please be more specific about "after login". Is it a GUI login, SSH login, etc.? –  gertvdijk Dec 5 '12 at 15:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.