We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Assume that mode flags (aka nullary options) -x and -z are defined, as well as a unary option -f. Then the following is valid input:
-x
-z
-f
tar -xzf file.tgz
which is shorter than having to type out each option name in full:
tar -x -z -f file.tgz
The "attached" style of passing the argument of option -f also works:
tar -xzffile.tgz
but please note that = is not part of the syntax. The following would pass the file name =file.tgz, which is probably not intended.
=
=file.tgz
tar -xzf=file.tgz # '=file.tgz'
Of course, when a gnu-style name like --file is used instead of -f, = is valid syntax to separate the value from the option name:
--file
tar -xz --file=file.tgz # 'file.tgz'