Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After a cross-country move, I no longer physical access to a certain computer running Ubuntu 12.04, but I do have ssh access. I never plan on using Chrome on that computer again, and I would like to clear my cookies, history, cache, and all other private data on that computer from the command line.

I was surprised that I couldn't find any google hits on this topic. Here's one that is close, but it only works for Windows and/or OSX.

http://apple.stackexchange.com/questions/61121/clear-out-chrome-history-from-command-line

That site also includes the following warning:

Google Chrome settings and storage represent user-selected preferences and information and MUST not be extracted, overwritten or modified except through Google Chrome defined APIs.

Is that something to worry about in this case?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

For the default Chrome configuration, nuke

~/.config/google-chrome/Default

and

~/.cache/google-chrome

As to the warning from Google, since you aren't going to use it again, and the locations are specific to your HOME location on that machine, don't worry, be happy.

share|improve this answer
2  
thanks. to clarify for other readers: rm -rf ~/.config/google-chrome/Default/ and rm -rf ~/.cache/google-chrome –  cxrodgers Dec 17 '13 at 16:47

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.