Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

For example, I can reset the gnome fallback panel with

dconf reset -f /org/gnome/gnome-panel/

The only thing I don't understand is the "-f" part. Can someone tell me what is does? Or is it just there for no reason?

Google doesn't help me, it just shows results that aren't very similar with my question.

If I need to add anything else, please let me know.

share|improve this question
why the downvote??? he apparently did some research, as he stated google did not help. and if it is because s/he did not check the man page.....a new user may not know about them or how to use them so I don't think it's a valid downvote for a new user, for someone around AU enough to get some rep, maybe..... – TrailRider Nov 25 '13 at 2:22

If you don't know what parameters a command takes type

man command

e.g. man dconf.

       dconf - Simple tool for manipulating a dconf database


dconf reset [-f] PATH



           Reset a key or an entire directory. For directories, -f must be

In this case, the man page tells me that -f specifies a directory.

While the use of -f in dconf has a specific meaning in dconf. -f in other commands may mean something else entirely.

For example, in the ps command it means "Do full-format listing. And in other commands it is used to reference a filename. (not a directory).

share|improve this answer

The meaning of the flag will vary from command to command. Often, it means 'force' or 'filename'. In the example you specified, it is used to force resetting of an entire directory.

You can look up command-line options for many programs from their manpages, like so:

man dconf
share|improve this answer

-f can mean whatever an app has specified. In this case of dconf's reset command -f means 'reset an entire directory' vs reset an individual key

From man dconf

       Reset a key or an entire directory. For directories, -f must be specified.
share|improve this answer

Your Answer


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.