Flags and Options
noun
say it: “FLAGZ and OP-shunz” /flæɡz ənd ˈɑːpʃənz/
Settings written after a command, usually a dash and a letter such as -l, that change what the command does.
What is Flags and Options?
Flags (options) change how a command behaves. Short ones use one dash (-l) and can be combined (-la); long ones use two (--all).
ls -l -a
ls -la
ls --all
In a sentence
- “Diego read the help page to learn the flags and options cp understands.”
- “The -a in ls -a is one of the command's flags and options.”
Level: Apprentice · More Unix terms at this level
Updated