Super User is a question and answer site for computer enthusiasts and power users. 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

I am using Ubuntu Linux

I recently started using a separate google profile for school using

 google-chrome --user-data-dir="~/.config/google-chrome/users/school/"

It was working fine until I needed to get to the profile directory. I expected "~/.config/google-chrome/users/school/" to be at "/home/username/.config/google-chrome/users/school" but its not.

I changed the shortcut but now I need to copy the data over.

I couldn't find the answer in any of the about:about pages.

Also, if I go to ~/.config/google-chrome/users/school/ in the browser of Google Chrome, it still shows a blank directory (it redirects me to /home/username/.config/google-chrome/users/school like you'd expect).

share|improve this question
up vote 2 down vote accepted

Be careful with the double quotes, when you put a ~ into a double quoted string, bash doesn't expand to home.

For example, this line doesn't work:

cat "~/.bashrc"
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .