How to close any application program using linux command line

sometimes we get that application program like firefox, geany or image editor which is running on our computer is not responding.Then we get various question in our mind like *. How to close application from command line? *. Is there any way to close application from command line. And others. Resolution Linux and Unix both(…)