Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
share|improve this question

migrated from stackoverflow.com May 23 '13 at 0:08

This question came from our site for professional and enthusiast programmers.

No, there's no signal or commandline switch to close an individual tab. –  Shawn Balestracci May 22 '13 at 18:49
You would need to use github.com/smblott-github/chromix with the extension github.com/smblott-github/chromi to do that. –  Dan D. May 23 '13 at 2:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.