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'm using MacOS 10.8.3 and Chrome Version 26.0.1410.65. And i want try to change devtools style.

When put this code on Terminal:

 ~/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css

Get this error:

-bash: /Users/Baris/Library/Application: No such file or directory

I checked directory paths and really i haven't Chrome directory on Application Support/Google

Where is stored custom.css on my Mac?

share|improve this question
This is outdated, please refer to:… – Thiago Duarte Sep 5 '14 at 16:57
up vote 5 down vote accepted

When you use a shell like Bash and enter a path that contains whitespace, it will interpret the whitespace as the argument separator. For example,

~/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css

will be seen by the shell as three arguments:


Logically, these don't exist. When you use open to open the CSS file, it'll tell you:

The files /Users/werner/Library/Application, /Users/werner/Support/Google/Chrome/Default/User, and /Users/werner/StyleSheets/Custom.css do not exist.

So you need to quote your variables, or escape the space:

open -e "~/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css"
open -e ~/Library/Application\ Support/Google/Chrome/Default/User\ StyleSheets/Custom.css

See also Quotes and escaping. For the gory details, look at this post: Filenames in Shell

share|improve this answer

You must log in to answer this question.

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