how to create a desktop shortcut in firefox ubuntu code example
Example: close chrome tab from command line ubuntu
Instead of closing a tab, it kills the tab ("He's dead Jim" message appears and tab remains):
kill -9 <pid of Chrome tab>
Closes all Chrome browsers open:
killall chrome