HostOnNet Blog

Google Chrome

Looking for Linux Server Admin or WordPress Expert? We can help.

Install Google Chrome on Ubuntu

Run following commands as user root

wget -q -O - | sudo apt-key add -
echo "deb [arch=amd64] stable main" > /etc/apt/sources.list.d/google-chrome.list
apt update
apt install google-chrome-stable

Google Chrome profile directory in Ubuntu


Create a New profile

To create a new profile, create a folder

mkdir /backup/chrome-profile-hon

First time run

For first run, use following command

google-chrome --user-data-dir=/backup/chrome-profile-hon -first-run

Starting Chrome

For regular usage, start google chrome with

google-chrome --user-data-dir=/backup/chrome-profile-hon

See what profile folder google chrome use

To see what profile folder currently running google chrome instance use, run

lsof | grep google-chrome

This will list all files opened by google chrome, from that you can identify the profile folder in use.

Posted in Ubuntu

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.