LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   List of all UNIX Flags (https://www.linuxquestions.org/questions/linux-newbie-8/list-of-all-unix-flags-889026/)

pr0tocoldan 06-29-2011 01:24 PM

List of all UNIX Flags
 
Hello,

I have beeen trying to find a list of all flags that can be used in UNIX and their meaning but I have had no luck.

Does anyone know if such a list exists?

If so where can I find it?

Thanks,

pr0tocoldan

acid_kewpie 06-29-2011 01:35 PM

what kinds of flags are you referring to?

unSpawn 06-29-2011 01:36 PM

]$ echo ;-p

pr0tocoldan 06-29-2011 01:40 PM

Flags like

-a
-c

etc...

MTK358 06-29-2011 01:42 PM

Quote:

Originally Posted by pr0tocoldan (Post 4399406)
Flags like

-a
-c

etc...

Each command has different options, and they don't mean the same thing across all commands (especially since different commands do completely different things).

Or do you mean a list of all commands and their options?

pr0tocoldan 06-29-2011 01:43 PM

A list of all commands and their options would be great.

Tinkster 06-29-2011 01:47 PM

man pages do just that. Knock yourself out.

jkirchner 06-29-2011 01:58 PM

Nice listing here: http://www.oreillynet.com/linux/cmd/

acid_kewpie 06-29-2011 02:11 PM

Hmm, yeah I feared that was what you wanted...

chrism01 06-29-2011 07:20 PM

See also http://linux.die.net/man/
That's going to be a looonnnggg read :) :)

As above, each cmd uses a set of options (aka switches) that are specific to that cmd only.
Any option chosen at random may or may not(!) have the same or similar effect on another.
In short, forget it; learn the options for each cmd as you come across the cmd.

salasi 06-30-2011 04:11 AM

I don't know of anything that is sufficiently finite to constitute an easy answer to this question (hint: there is a reason for this), but you could have a look at a bash 'cheat sheet', which does some of what you seem to want, like this but only for a few selected commands and a few selected, but common, options. A search will quickly reveal many more cheat sheets like this.

For something like man pages, but more crisply formatted, you could look here (example is the 'ls' command - other commands are available).

Obviously, the size of the problem being problematic, you'll want to make it worse by also checking out long options and not just the short form options.

archtoad6 09-02-2011 02:31 PM

From the 3rd edition on, O'Reilly's Linux in a Nutshell has a single chapter "Linux Commands" which is, in effect, a series of mini man pages on a wide variety of commands. I have gotten still useful, non-current, editions of this book for as little as $5.

Two options that are almost universal are "--help" & "--version".

There is no standard or standardization, probably due the different origins of the commands: AT&T Unix, the BSDs, the GNU project, etc. This lack is inherent in the FS/OSS development process. -- IOW, how good are you at herding cats?

pr0tocoldan 04-19-2012 04:38 PM

Thanks
 
Thank you all for your answers.

XEvolved_TigerX 03-06-2021 12:50 AM

Unix
 
I have been looking for this hopefully I can access it

TB0ne 03-07-2021 09:35 AM

Quote:

Originally Posted by XEvolved_TigerX (Post 6227792)
I have been looking for this hopefully I can access it

Oh? Did you read the answers above?


All times are GMT -5. The time now is 03:19 PM.