LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2011, 01:24 PM   #1
pr0tocoldan
LQ Newbie
 
Registered: Jun 2011
Posts: 6

Rep: Reputation: Disabled
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
 
Old 06-29-2011, 01:35 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
what kinds of flags are you referring to?
 
Old 06-29-2011, 01:36 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,335
Blog Entries: 55

Rep: Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535
]$ echo ;-p
 
Old 06-29-2011, 01:40 PM   #4
pr0tocoldan
LQ Newbie
 
Registered: Jun 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Flags like

-a
-c

etc...
 
Old 06-29-2011, 01:42 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by pr0tocoldan View Post
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?
 
1 members found this post helpful.
Old 06-29-2011, 01:43 PM   #6
pr0tocoldan
LQ Newbie
 
Registered: Jun 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
A list of all commands and their options would be great.
 
Old 06-29-2011, 01:47 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
man pages do just that. Knock yourself out.
 
Old 06-29-2011, 01:58 PM   #8
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Posts: 771

Rep: Reputation: 199Reputation: 199
Nice listing here: http://www.oreillynet.com/linux/cmd/
 
Old 06-29-2011, 02:11 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Hmm, yeah I feared that was what you wanted...
 
Old 06-29-2011, 07:20 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,295

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
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.
 
Old 06-30-2011, 04:11 AM   #11
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,060

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
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.
 
Old 09-02-2011, 02:31 PM   #12
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
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?
 
Old 04-19-2012, 04:38 PM   #13
pr0tocoldan
LQ Newbie
 
Registered: Jun 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks

Thank you all for your answers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not init font path element unix/:7100, removing from list! jeffreybluml Fedora 18 10-12-2011 08:06 AM
List running services on remote unix box say_hi_ravi Linux - Newbie 6 01-24-2011 08:24 AM
LXer: Simple Script To List Groups In Passwd File Output On Linux And Unix LXer Syndicated Linux News 0 04-21-2009 07:20 AM
LXer: Dealing With "Argument list too long" Errors on Linux and Unix LXer Syndicated Linux News 0 11-28-2008 06:30 AM
LXer: Lists vs. Strings: Perl List Permutations For Linux Or Unix LXer Syndicated Linux News 0 09-03-2008 03:00 AM


All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration