What is the Position_args in man page The Next CEO of Stack Overflowhead command options and reading man filesAdd sid field to ps -f outputHow and what style should I use when writing man pages?How can 'man' render double quotes not as doubled backtick and prime characters?Install the latest POSIX man pages?Access ImageMagick's man pageHow to access man pages as structured contentUsing the 'a' and 'c' options with the 'dash' command in UnixHow to search a pattern containing hyphens inside man pages?How to automatically scroll to requested command when the “General Commands Manual” is shown?
In the "Harry Potter and the Order of the Phoenix" video game, what potion is used to sabotage Umbridge's speakers?
Scary film where a woman has vaginal teeth
Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?
Can Sneak Attack be used when hitting with an improvised weapon?
Purpose of level-shifter with same in and out voltages
My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?
Can I board the first leg of the flight without having final country's visa?
How do I fit a non linear curve?
Is it convenient to ask the journal's editor for two additional days to complete a review?
From jafe to El-Guest
Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?
"Eavesdropping" vs "Listen in on"
Inexact numbers as keys in Association?
Easy to read palindrome checker
Why am I getting "Static method cannot be referenced from a non static context: String String.valueOf(Object)"?
It is correct to match light sources with the same color temperature?
Redefining symbol midway through a document
Graph of the history of databases
What is the difference between "hamstring tendon" and "common hamstring tendon"?
Is it professional to write unrelated content in an almost-empty email?
Are the names of these months realistic?
Why is information "lost" when it got into a black hole?
Is there such a thing as a proper verb, like a proper noun?
Spaces in which all closed sets are regular closed
What is the Position_args in man page
The Next CEO of Stack Overflowhead command options and reading man filesAdd sid field to ps -f outputHow and what style should I use when writing man pages?How can 'man' render double quotes not as doubled backtick and prime characters?Install the latest POSIX man pages?Access ImageMagick's man pageHow to access man pages as structured contentUsing the 'a' and 'c' options with the 'dash' command in UnixHow to search a pattern containing hyphens inside man pages?How to automatically scroll to requested command when the “General Commands Manual” is shown?
I just Joined Linux
and I trying to explore commands with the available resources (mainly man pages)
It's easy to understand what are the option args(content in usage and options) in a command manpage, but I've trouble understanding what are the position_args.
take as example vgcreate
How could I know what is the position args, by reading man page?
linux man arguments
New contributor
add a comment |
I just Joined Linux
and I trying to explore commands with the available resources (mainly man pages)
It's easy to understand what are the option args(content in usage and options) in a command manpage, but I've trouble understanding what are the position_args.
take as example vgcreate
How could I know what is the position args, by reading man page?
linux man arguments
New contributor
add a comment |
I just Joined Linux
and I trying to explore commands with the available resources (mainly man pages)
It's easy to understand what are the option args(content in usage and options) in a command manpage, but I've trouble understanding what are the position_args.
take as example vgcreate
How could I know what is the position args, by reading man page?
linux man arguments
New contributor
I just Joined Linux
and I trying to explore commands with the available resources (mainly man pages)
It's easy to understand what are the option args(content in usage and options) in a command manpage, but I've trouble understanding what are the position_args.
take as example vgcreate
How could I know what is the position args, by reading man page?
linux man arguments
linux man arguments
New contributor
New contributor
edited 2 days ago
Jeff Schaller♦
44.4k1162143
44.4k1162143
New contributor
asked 2 days ago
NelssenNelssen
1234
1234
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Positions args are required to be given in a specific order on the command line.
for your specific example:
vgcreate VG_new PV
VG_new must come first, followed by PV. Most the time positional args come at the end of a command.
Most other args, that are mostly (if not always) prefixed by a - or -- can come in any order
vgcreate --clustered y --maxlogicalvolumes 2 newvol /dev/sda1
is the same as
vgcreate --maxlogicalvolumes 2 --clustered y newvol /dev/sda1
while this would at best would result in and error, or could possibly have some undefined or undesirable outcomes:
vgcreate --clustered y --maxlogicalvolumes 2 /dev/sda1 newvol
In general, the order of command line options is not always arbitrary. Quite often, a later option may override an earlier option. For example,rm -f -i file
will behave differently fromrm -i -f file
. Filename operands on the command line can very seldom occur in any order, especially if the command specific source and target operands.
– Kusalananda♦
yesterday
add a comment |
Unfortunately, you cannot. The LVM2 doco fails to explain these.
To know what it is, you, an end user of the tools, have instead to go digging around in the program source. A person by the name of David Teigland introduced a new system for the LVM2 toolset in August 2016, which makes all of its manual pages now look like this. The synopsis section is as you saw, and the real synopsis is actually in a "USAGE" section further down.
Commentary in the source code, not exposed to end users as doco, explains that the command line for all of the tools is considered to comprise option arguments (the ones beginning with minuses) and positional arguments (whose meaning is according to their position in the argument vector when all of the option arguments have been removed), and that these are both further subdivided into required and optional.
LVM2 manual pages are not the best. Additionally symptomatic of this is that the official WWW site hyperlinks to nonexistent WWW pages for the manual.
Hi @JdeBP, I upvoted your answer but accepted Fitz as he expends more time explaining the Position args, and consequently left me no doubts about what it is. However, your contribution was also important to me better understand man pages
– Nelssen
yesterday
add a comment |
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Nelssen is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509542%2fwhat-is-the-position-args-in-man-page%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Positions args are required to be given in a specific order on the command line.
for your specific example:
vgcreate VG_new PV
VG_new must come first, followed by PV. Most the time positional args come at the end of a command.
Most other args, that are mostly (if not always) prefixed by a - or -- can come in any order
vgcreate --clustered y --maxlogicalvolumes 2 newvol /dev/sda1
is the same as
vgcreate --maxlogicalvolumes 2 --clustered y newvol /dev/sda1
while this would at best would result in and error, or could possibly have some undefined or undesirable outcomes:
vgcreate --clustered y --maxlogicalvolumes 2 /dev/sda1 newvol
In general, the order of command line options is not always arbitrary. Quite often, a later option may override an earlier option. For example,rm -f -i file
will behave differently fromrm -i -f file
. Filename operands on the command line can very seldom occur in any order, especially if the command specific source and target operands.
– Kusalananda♦
yesterday
add a comment |
Positions args are required to be given in a specific order on the command line.
for your specific example:
vgcreate VG_new PV
VG_new must come first, followed by PV. Most the time positional args come at the end of a command.
Most other args, that are mostly (if not always) prefixed by a - or -- can come in any order
vgcreate --clustered y --maxlogicalvolumes 2 newvol /dev/sda1
is the same as
vgcreate --maxlogicalvolumes 2 --clustered y newvol /dev/sda1
while this would at best would result in and error, or could possibly have some undefined or undesirable outcomes:
vgcreate --clustered y --maxlogicalvolumes 2 /dev/sda1 newvol
In general, the order of command line options is not always arbitrary. Quite often, a later option may override an earlier option. For example,rm -f -i file
will behave differently fromrm -i -f file
. Filename operands on the command line can very seldom occur in any order, especially if the command specific source and target operands.
– Kusalananda♦
yesterday
add a comment |
Positions args are required to be given in a specific order on the command line.
for your specific example:
vgcreate VG_new PV
VG_new must come first, followed by PV. Most the time positional args come at the end of a command.
Most other args, that are mostly (if not always) prefixed by a - or -- can come in any order
vgcreate --clustered y --maxlogicalvolumes 2 newvol /dev/sda1
is the same as
vgcreate --maxlogicalvolumes 2 --clustered y newvol /dev/sda1
while this would at best would result in and error, or could possibly have some undefined or undesirable outcomes:
vgcreate --clustered y --maxlogicalvolumes 2 /dev/sda1 newvol
Positions args are required to be given in a specific order on the command line.
for your specific example:
vgcreate VG_new PV
VG_new must come first, followed by PV. Most the time positional args come at the end of a command.
Most other args, that are mostly (if not always) prefixed by a - or -- can come in any order
vgcreate --clustered y --maxlogicalvolumes 2 newvol /dev/sda1
is the same as
vgcreate --maxlogicalvolumes 2 --clustered y newvol /dev/sda1
while this would at best would result in and error, or could possibly have some undefined or undesirable outcomes:
vgcreate --clustered y --maxlogicalvolumes 2 /dev/sda1 newvol
answered yesterday
FitzFitz
1852
1852
In general, the order of command line options is not always arbitrary. Quite often, a later option may override an earlier option. For example,rm -f -i file
will behave differently fromrm -i -f file
. Filename operands on the command line can very seldom occur in any order, especially if the command specific source and target operands.
– Kusalananda♦
yesterday
add a comment |
In general, the order of command line options is not always arbitrary. Quite often, a later option may override an earlier option. For example,rm -f -i file
will behave differently fromrm -i -f file
. Filename operands on the command line can very seldom occur in any order, especially if the command specific source and target operands.
– Kusalananda♦
yesterday
In general, the order of command line options is not always arbitrary. Quite often, a later option may override an earlier option. For example,
rm -f -i file
will behave differently from rm -i -f file
. Filename operands on the command line can very seldom occur in any order, especially if the command specific source and target operands.– Kusalananda♦
yesterday
In general, the order of command line options is not always arbitrary. Quite often, a later option may override an earlier option. For example,
rm -f -i file
will behave differently from rm -i -f file
. Filename operands on the command line can very seldom occur in any order, especially if the command specific source and target operands.– Kusalananda♦
yesterday
add a comment |
Unfortunately, you cannot. The LVM2 doco fails to explain these.
To know what it is, you, an end user of the tools, have instead to go digging around in the program source. A person by the name of David Teigland introduced a new system for the LVM2 toolset in August 2016, which makes all of its manual pages now look like this. The synopsis section is as you saw, and the real synopsis is actually in a "USAGE" section further down.
Commentary in the source code, not exposed to end users as doco, explains that the command line for all of the tools is considered to comprise option arguments (the ones beginning with minuses) and positional arguments (whose meaning is according to their position in the argument vector when all of the option arguments have been removed), and that these are both further subdivided into required and optional.
LVM2 manual pages are not the best. Additionally symptomatic of this is that the official WWW site hyperlinks to nonexistent WWW pages for the manual.
Hi @JdeBP, I upvoted your answer but accepted Fitz as he expends more time explaining the Position args, and consequently left me no doubts about what it is. However, your contribution was also important to me better understand man pages
– Nelssen
yesterday
add a comment |
Unfortunately, you cannot. The LVM2 doco fails to explain these.
To know what it is, you, an end user of the tools, have instead to go digging around in the program source. A person by the name of David Teigland introduced a new system for the LVM2 toolset in August 2016, which makes all of its manual pages now look like this. The synopsis section is as you saw, and the real synopsis is actually in a "USAGE" section further down.
Commentary in the source code, not exposed to end users as doco, explains that the command line for all of the tools is considered to comprise option arguments (the ones beginning with minuses) and positional arguments (whose meaning is according to their position in the argument vector when all of the option arguments have been removed), and that these are both further subdivided into required and optional.
LVM2 manual pages are not the best. Additionally symptomatic of this is that the official WWW site hyperlinks to nonexistent WWW pages for the manual.
Hi @JdeBP, I upvoted your answer but accepted Fitz as he expends more time explaining the Position args, and consequently left me no doubts about what it is. However, your contribution was also important to me better understand man pages
– Nelssen
yesterday
add a comment |
Unfortunately, you cannot. The LVM2 doco fails to explain these.
To know what it is, you, an end user of the tools, have instead to go digging around in the program source. A person by the name of David Teigland introduced a new system for the LVM2 toolset in August 2016, which makes all of its manual pages now look like this. The synopsis section is as you saw, and the real synopsis is actually in a "USAGE" section further down.
Commentary in the source code, not exposed to end users as doco, explains that the command line for all of the tools is considered to comprise option arguments (the ones beginning with minuses) and positional arguments (whose meaning is according to their position in the argument vector when all of the option arguments have been removed), and that these are both further subdivided into required and optional.
LVM2 manual pages are not the best. Additionally symptomatic of this is that the official WWW site hyperlinks to nonexistent WWW pages for the manual.
Unfortunately, you cannot. The LVM2 doco fails to explain these.
To know what it is, you, an end user of the tools, have instead to go digging around in the program source. A person by the name of David Teigland introduced a new system for the LVM2 toolset in August 2016, which makes all of its manual pages now look like this. The synopsis section is as you saw, and the real synopsis is actually in a "USAGE" section further down.
Commentary in the source code, not exposed to end users as doco, explains that the command line for all of the tools is considered to comprise option arguments (the ones beginning with minuses) and positional arguments (whose meaning is according to their position in the argument vector when all of the option arguments have been removed), and that these are both further subdivided into required and optional.
LVM2 manual pages are not the best. Additionally symptomatic of this is that the official WWW site hyperlinks to nonexistent WWW pages for the manual.
answered yesterday
JdeBPJdeBP
37.6k478182
37.6k478182
Hi @JdeBP, I upvoted your answer but accepted Fitz as he expends more time explaining the Position args, and consequently left me no doubts about what it is. However, your contribution was also important to me better understand man pages
– Nelssen
yesterday
add a comment |
Hi @JdeBP, I upvoted your answer but accepted Fitz as he expends more time explaining the Position args, and consequently left me no doubts about what it is. However, your contribution was also important to me better understand man pages
– Nelssen
yesterday
Hi @JdeBP, I upvoted your answer but accepted Fitz as he expends more time explaining the Position args, and consequently left me no doubts about what it is. However, your contribution was also important to me better understand man pages
– Nelssen
yesterday
Hi @JdeBP, I upvoted your answer but accepted Fitz as he expends more time explaining the Position args, and consequently left me no doubts about what it is. However, your contribution was also important to me better understand man pages
– Nelssen
yesterday
add a comment |
Nelssen is a new contributor. Be nice, and check out our Code of Conduct.
Nelssen is a new contributor. Be nice, and check out our Code of Conduct.
Nelssen is a new contributor. Be nice, and check out our Code of Conduct.
Nelssen is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509542%2fwhat-is-the-position-args-in-man-page%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown