Beginingg code for shell kill cmd