UUIDGEN(1) General Commands Manual UUIDGEN(1)NAME
uuidgen - command-line utility to create a new UUID value
SYNOPSIS
uuidgen [-r|-t]
DESCRIPTION
The uuidgen program creates (and prints) a new universally unique identifier (UUID) using the libuuid(3) library. The new UUID can reason-
ably be considered unique among all UUIDs created on the local system, and among UUIDs created on other systems in the past and in the
future.
There are two types of UUIDs which uuidgen can generate: time-based UUIDs and random-based UUIDs. By default uuidgen will generate a ran-
dom-based UUID if a high-quality random number generator is present. Otherwise, it will chose a time-based UUID. It is possible to force
the generation of one of these two UUID types by using the -r or -t options.
OPTIONS -r Generate a random-based UUID. This method creates a UUID consisting mostly of random bits. It requires that the operating system
have a high quality random number generator, such as /dev/random.
-t Generate a time-based UUID. This method creates a UUID based on the system clock plus the system's ethernet hardware address, if
present.
CONFORMING TO
OSF DCE 1.1
AUTHOR
uuidgen was written by Andreas Dilger for libuuid.
AVAILABILITY
The uuidgen command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO libuuid(3)Linux May 2009 UUIDGEN(1)
Check Out this Related Man Page
UUIDGEN(1) General Commands Manual UUIDGEN(1)NAME
uuidgen - command-line utility to create a new UUID value
SYNOPSIS
uuidgen [ -r | -t ]
DESCRIPTION
The uuidgen program creates a new universally unique identifier (UUID) using the libuuid(3) library. The new UUID can reasonably be con-
sidered unique among all UUIDs created on the local system, and among UUIDs created on other systems in the past and in the future.
There are two types of UUID's which uuidgen can generate: time-based UUID's and random-based UUID's. By default uuidgen will generate a
random-based UUID if a high-quality random number generator is present. Otherwise, it will chose a time-based UUID. It is possible to
force the generation of one of these two UUID types by using the -r or -t options.
OPTIONS -r Generate a random-based UUID. This method creates a UUID consisting mostly of random bits. It requires that the operating system
have a high quality random number generator, such as /dev/random.
-t Generate a time-based UUID. This method creates a UUID based on the system clock plus the system's ethernet hardware address, if
present.
RETURN VALUE
The UUID of the form 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb (in printf(3) format "%08x-%04x-%04x-%04x-%012x") is output to the standard out-
put.
CONFORMING TO
OSF DCE 1.1
AUTHOR
uuidgen was written by Andreas Dilger for libuuid.
AVAILABILITY
uuidgen is part of libuuid from the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.
SEE ALSO libuuid(3)E2fsprogs version 1.32 November 2002 UUIDGEN(1)
Hi,
I am using dual operating system(windows/linux) in my system.Now the problem is i want to run my .exe(of c languege)
before system ask for loading of operating system.Like my system ask for linux or dos.I want to run my .exe before this. Tell me how can i use this. (2 Replies)
The problem is alot worse that I thought. I ran the 'test net' after I did the 'stop a' thing and the system worked once, but the second time it froze. No matter what i tried I couldn't get the system out of a frozen state so I had to cycle the power.
I thought lemme check the entire system to... (5 Replies)
If the strength of Unix based operating systems such as Linux and Red Hat are based on the fact that they are open-source. Who will provide support for personal computers or average users that uses these operating systems. Wouldn't the absence of some structured and formal support system inhibit... (8 Replies)
Hello. New to the forum here. I was wondering if I could get some input from those who use Linux/Unix based operating systems exclusively.
I use Solaris 10 here at work, while it was confusing at first (terminal commands and such,) I am quickly adapting to it. At home, I use Windows XP... (5 Replies)
Hello all.
Im a young lad with very limited experience with computers, even though I have been playing with them the past 5 years. I have the experience of the random World of Warcraft player that plays games all day.
I have a huge interest in learning everything about computers and I was... (5 Replies)
Hello All...
Can someone help me generate a random password which will be 7 characters long which contains alpha-numeric characters using shell script.
I am looking to store the output of the script that generates the password to a variable within a script and use it as the password.
... (5 Replies)
Hi,
In my application,I want to find out the OS name and based on OS I want to do some specific operations.So I write some code based on it in JAVA but I am able to get the OS name but Not able to use the method specific to OS.I write a simple code to check it and found that it is not going to... (1 Reply)
Hello Experts,
Is there a way to generate Universally Unique identifiers on all Unix flavours such as Solaris, RHELinux,Suse Linux, MacOS,HP UX etc?
If i can get a system command or a system call or an algorithm/script/program to generate a unique identifier, it will be helpful.
Thanks in... (1 Reply)
Hi guys , I m new to linux and would like to buy some quality video tutorials .
Request you to guide me any good source for programming(C,Java,VB) or linux tutorials.
Tutorials should be known and good like lynda.com (5 Replies)
Greetings,
We have a requirement where we need to loop in a fixed width file in linux and remove a character based on a position for every record. It would highly appreciate if someone can help to automate this.
Appreciate your time and help!
Regards (3 Replies)
Dear all,
I have two NIC's on my machine.
UUID for the first interface (eth0) was generated by the machine automatically.
Now I want to generate UUID for the 2nd interface (eth1) please help me out.
Thanks in advance...:) (2 Replies)
Hi Unix Gurus,
I have a requirement to generate positive random 16 and 13 digit numbers.
Here is the script I have so far.....
number=$RANDOM$RANDOM$RANDOM$RANDOM;
let "number %= 10000000000000";
echo $number
But sometimes it is generating negative numbers and also 15 digit... (8 Replies)
Hi,
I was wondering if there is a command to delete a file in the future.
For example: If I create a file named unix.lst using the vi editor, but after I create it, what command will be suitable to delete "unix" files from the system at 13:40 military time with no log file.
I was going to... (3 Replies)
Dear all,
i am in last year of electronics department in engineering faculty
i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux "
i think about embedded unix for example or device drivers
please i need helps (1 Reply)