uuidgen man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

uuidgen(1)							    uuidgen(1)

NAME
       uuidgen - Generates a Universal Unique Identifier (UUID)

SYNOPSIS
       uuidgen [argument] ...

Arguments
       Allows  you to supply an existing UUID that uuidgen then outputs in the
       format you specify.  This option is especially  useful  in  combination
       with the -s option for converting an existing UUID into a C structure.

       You  must specify the -c option at the end of the uuidgen command line;
       all options that follow -c are ignored.	Produces an Interface  Defini‐
       tion  Language  (IDL)  file  template  and  includes the generated UUID
       string in the template.	Redirects the generated	 UUID  string  to  the
       file  you  specify.  Generates a UUID string as an initialized C struc‐
       ture.  Displays the version number of the UUID generator, but does  not
       generate	 a UUID.  Displays information about the uuidgen command argu‐
       ments. The arguments -h and -? can be used  interchangeably.   Displays
       information  about  the uuidgen command arguments. The arguments -? and
       -h can be used interchangeably.	Generates a specified number  of  UUID
       strings.	  Generates  UUID  using the hardware address of specified lan
       card instance ,In case of multiple lan interfaces for  a	 host.You  can
       use lanscan to get the card instance of	the lancards.

DESCRIPTION
       The  uuidgen command creates a UUID string that you assign to an object
       to uniquely identify  it.  One  such  use  is  in  the  UUID  interface
       attribute  of an IDL interface definition.  The format for representing
       a UUID string consists of eight hexadecimal digits followed by a	 dash,
       followed	 by  three  groups  of	four  hexadecimal  digits separated by
       dashes,	followed  by   a   dash	  and	twelve	 hexadecimal   digits:
       01234567-89ab-cdef-0123-456789abcdef

FILES
       The  locations of files have the following pathnames: Generator Genera‐
       tor error messages

EXAMPLES
       Generate a UUID string: $ uuidgen  23c67e00-71b6-11c9-9dfc-08002b0ecef1
       Generate	 a partial template, containing a generated UUID string, to be
       used  to	 develop   an	interface   definition:	  $   uuidgen	-i   [
       uuid(828bf780-71b6-11c9-b5a8-08002b0ecef1),  version  (1.0) ] interface
       INTERFACENAME {

       } Convert a UUID string from the old-style format to the new format:  $
       uuidgen		   -t		  34DC23469EAF.AB.A2.01.7C.5F.2C.ED.A3
       34dc2346-9eaf-0000-aba2-017c5f2ceda3  Generate  four  UUID  strings:  $
       uuidgen	       -n	 4	  612c0b00-71b8-11c9-973a-08002b0ecef1
       612c0b01-71b8-11c9-973a-08002b0ecef1
       612c0b02-71b8-11c9-973a-08002b0ecef1
       612c0b03-71b8-11c9-973a-08002b0ecef1 Convert a UUID into a C structure:
       $  uuidgen  -s  -c  1251ace6-93al-11cd-95ad-0800097086e4	      =	 {  /*
       1251ace6-93al-11cd-95ad-0800097086e4	 */		   0x1251ace6,
		 0x93al,	     0x11cd,		 0x95,		  0xad
		 {0x08, 0x00, 0x09, 0x70, 0x86, 0xe4}	   }; To generate UUID
       using  the hardware address of lancard, whose instance number is 1 .  $
       uuidgen -l 1 5f393fde-a9db-11d1-9caf-080009306cc2

								    uuidgen(1)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net