Shell command to kill dead quick-search bar in chrome

I, unfortunately, facing the problem, that the quick-search / history bar in chrome hangs up randomly when using a NFS-mounted home directory.

I figured out, that the process which dies, is the last chrome/chromium process which

[code language=”bash”]
ps ax | grep chrom
[/code]

displays.

So I wrote this little pipe to kill the died process more convenient than typing every single command for it self.

[code language=”bash”]
kill -9 ps ax | grep chrom | tail -n 2 | head -n 1 | awk '{print $1}'
[/code]

Maybe this will help you

Cheers

 
0 Kudos
Don't
move!

Leave a Reply

Your email address will not be published. Required fields are marked *