Close Chrome tab from command line 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