Skip to content

Instantly share code, notes, and snippets.

Created November 8, 2016 16:54
What would you like to do?
Start temporary google chrome instance
tmp_=$(mktemp -d --tmpdir google-chrome-anon-XXXXXXXXXX)
echo "private dir: " $tmp_
trap "{ rm -rf /tmp/$(basename $tmp_); exit 255; }" EXIT
nice -n5 google-chrome --user-data-dir=$tmp_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment