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 - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list
apt update
apt install google-chrome-stable

Google Chrome profile directory in Ubuntu

/home/USER/.config/google-chrome

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.