Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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