pavement

Flags

From FreeBSDwiki
Revision as of 21:17, 23 March 2005 by Dave (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Flags, also called switches or options, are things that you append to a command to alter it's behavior. For example,

# ls

will just list the files in whatever current directory you're in, but

# ls -l

will give you the same listing in long format. See ls for more info on that particular flag.

Note that in FreeBSD, flags are prefixed with "-" or "--" as opposed to Microsoft Windows' "/". Often a flag can be given as "--the-long-name-of-the-flag" or the much shorter and less carpal-tunnel-inducing format of just the first letter, "-t".

Personal tools