Close a specific Chrome tab in Ubuntu/Linux using terminal command

5

Is there a way to close a specific Chrome tab with a terminal command? I tried below commands:

  1. kill -9 <pid of Chrome tab>: Instead of closing a tab, it kills the tab ("He's dead Jim" message appears and tab remains)
  2. killall chrome: Closes all Chrome browsers open

user671646

Posted 2013-05-22T18:36:23.197

Reputation:

No, there's no signal or commandline switch to close an individual tab. – None – 2013-05-22T18:49:20.623

3

You would need to use https://github.com/smblott-github/chromix with the extension https://github.com/smblott-github/chromi to do that.

– Dan D. – 2013-05-23T02:12:16.193

No answers