Open Directory Site  Advanced Unix Tutorials

Home | Windows 98 | Windows Me | Windows 2000 Windows XP | Unix | Advanced Unix

Home >> Operating Systems >> Advanced Unix >>Do you Have a PAG?

Do you Have a PAG?

The UNIX command groups can be used to tell whether you have a PAG or not and to identify PAGs. Normally, the groups command will give you a list of groups that you are a member of.

            % groups

            users

When you have a PAG, this group list will be preceded by two large numbers.

            % groups

            33536 32593 users

At least one of these two numbers will be different for different PAGs. Thus, if you see different numbers given by separate groups commands, it means that the commands were executed in separate PAGs. If the numbers are the same, then the commands were executed in the same PAG. If you don’t see the numbers at all (as in the first example above), then you are using the system PAG.

Cheap Web Hosting Articles - Web Site Design & Web Hosting Tutorials - Domain Hosting