1

How can I delete Chromium browser history at boot up on Raspberry Pi-3?

closed as off-topic by joan, Steve Robillard, Dmitry Grigoryev, Gene, tlhIngan Jul 19 '18 at 16:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – joan, Steve Robillard, Dmitry Grigoryev, Gene, tlhIngan
If this question can be reworded to fit the rules in the help center, please edit the question.

1

These two commands clear chromiums cache:

rm ~/.config/google-chrome/Default/
rm ~/.cache/google-chrome

to execute this commands on boot edit your crontab file (more about cronjobs):

crontab -e

append this line to the end of the file:

@reboot rm ~/.config/google-chrome/Default/ && rm ~/.cache/google-chrome

@reboot executes the following commands to remove the chromium/chrome cache at each reboot of your pi but more on the reboot keyword here
Note: To use the @reboot function you have to be root

Hope I could help!

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