Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

uuidgen(1) [linux 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 (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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

aol account

Is there any program to connect to Aol while on a linux operating system? (2 Replies)
Discussion started by: iwpgary
2 Replies

2. Programming

about exe file

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)
Discussion started by: at_renai2001
2 Replies

3. UNIX for Dummies Questions & Answers

Ultra10 ethernet troubleshooting

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)
Discussion started by: xyyz
5 Replies

4. UNIX for Dummies Questions & Answers

Unix/Linux Support?

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)
Discussion started by: wmosley2
8 Replies

5. UNIX for Dummies Questions & Answers

Stick with Solaris 10 or try something else?

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)
Discussion started by: Filth Pig
5 Replies

6. What is on Your Mind?

Questions about Unix/Linux

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)
Discussion started by: Vallzi
5 Replies

7. Shell Programming and Scripting

Generate a random password

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)
Discussion started by: chiru_h
5 Replies

8. Programming

Not able to execute the method based on OS in JAVA

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)
Discussion started by: smartgupta
1 Replies

9. UNIX for Advanced & Expert Users

Generate UUID for a host

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)
Discussion started by: GajendraSharma
1 Replies

10. UNIX for Dummies Questions & Answers

Linux Tutorial Needed

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)
Discussion started by: pinga123
5 Replies

11. Linux

Linux script to remove a character in a file based on position.

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)
Discussion started by: mailme0205
3 Replies

12. Red Hat

How to generate UUID for 2nd Ethernet card?

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)
Discussion started by: saqlain.bashir
2 Replies

13. Shell Programming and Scripting

Generate 16 digit positive random Numbers

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)
Discussion started by: scorpioraghu
8 Replies

14. UNIX for Dummies Questions & Answers

Delete Unix/Linux file at a specific time in future.

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)
Discussion started by: abhi7514
3 Replies

15. UNIX and Linux Applications

Need ideas for graduation project based on unix or linux Need ideas for graduation project based on

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)
Discussion started by: MOHA-1
1 Replies