Suppose for example vlc media player is running and some directory is also opened in file browser. Now I want to close either the file browser or vlc.
One way can be to just click on the cross button on the top left hand corner, but how can I do this using terminal commands?