Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

uuid(n) [mojave man page]

uuid(n) 							       uuid								   uuid(n)

__________________________________________________________________________________________________________________________________________________

NAME
uuid - UUID generation and comparison SYNOPSIS
package require Tcl 8.2 package require uuid ?1.0.1? ::uuid::uuid generate ::uuid::uuid equal id1 id2 _________________________________________________________________ DESCRIPTION
This package provides a generator of universally unique identifiers (UUID) also known as globally unique identifiers (GUID). This implemen- tation follows the draft specification from (1) although this is actually an expired draft document. COMMANDS
::uuid::uuid generate Creates a type 4 uuid by MD5 hashing a number of bits of variant data including the time and hostname. Returns the string represen- tation of the new uuid. ::uuid::uuid equal id1 id2 Compares two uuids and returns true if both arguments are the same uuid. EXAMPLES
% uuid::uuid generate b12dc22c-5c36-41d2-57da-e29d0ef5839c REFERENCES
[1] Paul J. Leach, "UUIDs and GUIDs", February 1998. (http://www.opengroup.org/dce/info/draft-leach-uuids-guids-01.txt) BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category uuid of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
GUID, UUID CATEGORY
Hashes, checksums, and encryption COPYRIGHT
Copyright (c) 2004, Pat Thoyts <patthoyts@users.sourceforge.net> uuid 1.0.1 uuid(n)

Check Out this Related Man Page

FS_UUID(1)						       AFS Command Reference							FS_UUID(1)

NAME
fs_uuid - Prints the uuid of the client or generates a new one SYNOPSIS
fs uuid [-generate] [-help] DESCRIPTION
fs uuid prints the current UUID of an OpenAFS client. It can optionally force the generation of a new UUID, if needed. The client UUID is used by the fileserver to differentiate clients with the same IP address. CAUTIONS
The fs uuid command is only available in OpenAFS versions after 1.4.5 and 1.5.8. The behavior differs slightly between versions. In OpenAFS 1.4.5 and later, the -generate option is required and the UUID for the client machine is never printed. OpenAFS versions 1.5.8 and later will print the UUID. OPTIONS
-generate Generates a new UUID for the cache manager. This is useful if two clients share the same UUID (if systems were cloned incorrectly, for example). -generate is optional in OpenAFS versions 1.5.8 and later, but it is required in OpenAFS versions 1.4.5 and later. -help Prints the online help for this command. All other valid options are ignored. OUTPUT
fs uuid prints out the current UUID for the client or the new UUID if the -generate option is passed to it. EXAMPLES
There are only two ways to invoke fs uuid under 1.5.8 and later: % fs uuid UUID: 8ac66f9308a8e-47d7-80f7-50d0040cddc2 % fs uuid -generate New UUID: 436bd660-1720-429508e470cff38f5c6fb0 Here is the only way to invoke fs uuid under OpenAFS 1.4.5 and later: % fs uuid -generate New uuid generated. PRIVILEGE REQUIRED
The issuer must be logged on as the local superuser "root". SEE ALSO
fs(1) COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com> This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS. OpenAFS 2012-03-26 FS_UUID(1)
Man Page

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

file editting with shell programmin

Hello, I have several handreds of text files. The format of file looks like: column1 column2 column3 column4 column5 id1 definition1 name1 fieldid comm1 id2 definition2 name2 fieldid ... (4 Replies)
Discussion started by: ssshen
4 Replies

2. Shell Programming and Scripting

i want to extract details for particular file

Hi i have following file uuid ( RO) : 62701790-60da-dd9a-669d-a563aac1c435 host-uuid ( RO): 5f3f668d-a7c7-4e5f-a4a6-6e90fafb50ed sr-uuid ( RO): 62103d07-e0aa-acf3-2d9f-414ad3377bd0 device-config (MRO): location: /dev/xapi/block ... (6 Replies)
Discussion started by: bp_vardhaman
6 Replies

3. UNIX for Advanced & Expert Users

Count the distinct list of ids

Hello guys, I have a file in the following format(each line seperated by TAB): ========= Filename id Filename id1 Filename id Filename1 id7 Filename1 id7 Filename2 id1 Filename2 id1 Filename2 id3 Filename3 id2 Filename3 id4 Filename3 id4 Filename3 id6 ========= I would like to... (2 Replies)
Discussion started by: jingi1234
2 Replies

4. Shell Programming and Scripting

How to read the first column in a flat file with ~ as delimiter

I have one flat file like below id1~col~batch1 id2~col2~batch2 id3~col3~batch3 I need to read the first column one by one and I need to write one db2 query based on that column1 Like for (i=0;i<=10;i++) do insert into table column (con_id) values (select column from table where... (4 Replies)
Discussion started by: siri_886
4 Replies

5. UNIX for Dummies Questions & Answers

Awk pattern with letters and forward slash

Hi, I have a tab delimited file "test.txt" like this: id1 342 C/T id2 7453 T/A/-/G/C id3 531 T/C id4 756 A/T/G id5 23 A/G id6 717 T/A/C id7 718 C/T/A And so on, with the possible choices for letters being A,C,T,G. I would like to exclude from my file all the lines that do not have... (3 Replies)
Discussion started by: francy.casa
3 Replies

6. Shell Programming and Scripting

Merge two files by condition

I have two files as below A file /* comment for id1 */ "id1" = "x1" /* comment for id2 */ "id2" = "x2" /* comment for id3 */ "id3" = "x3" B file /* comment for id1 */ "id1" = "y1" /* comment for id2 */ "id2" = "x2" (22 Replies)
Discussion started by: mikezang
22 Replies

7. UNIX for Dummies Questions & Answers

Change ownership of a directory

I want to change the ownership of a directory ONLY. my id id1 owns the files under the /mypath/bin but /mypath/bin is owned by id2 If i log into id2 I can't do chown id1 /mypath/bin (1 Reply)
Discussion started by: klarue
1 Replies

8. UNIX for Beginners Questions & Answers

Help getting a code in awk - Want to know how much of the data is covered by entries

Here is my data structure. # id1 id2 len start end # 9 16792 5475 4181 4232 # 11 16792 2317 1086 1137 # 11 32879 2317 8 60 # 11 32858 2317 10 52 # 11 30670 2317 17 63 # 14 12645 532 3 67 # 14 ... (3 Replies)
Discussion started by: Flebman
3 Replies