Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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
up vote 4 down vote accepted

For the default Chrome configuration, nuke




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
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


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.