I'm trying to get the profile directory of the default firefox profile (the one that opens automatically) from Bash. How could I proceed? I can't find any useful options issuing firefox --help
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
Your default profile directory is stored under home directory.
Here you will find something like xxxxxxxx.default. This is the location where all your personal data is stored. You can run the command |
|||||||
|
firefox; sudo lsof | grep [username] | grep firefox | grep profilewhich would get a firefox instance running.lsofwill show you the opened files;grepwill filter you out the interesting parts oflsof. This will quickstart the info + needs some fine-tuning. What do you need the information for anyhow? Do you wanna put some stuff automatically in a firefox profile folder - why? – humanityANDpeace Jan 10 at 13:22