UUIDGEN(1) BSD General Commands Manual UUIDGEN(1)NAME
uuidgen -- generate universally unique identifiers
SYNOPSIS
uuidgen [-1] [-n count] [-o filename]
DESCRIPTION
The uuidgen utility by default generates a single DCE version 1 universally unique identifier (UUID), also known as a globally unique identi-
fier (GUID). The UUID is written to stdout by default. The following options can be used to change the behaviour of uuidgen:
-1 This option only has effect if multiple identifiers are to be generated and instructs uuidgen to not generate them in batch, but one
at a time.
-n This option controls the number of identifiers generated. By default, multiple identifiers are generated in batch. The upper hard
limit is 2048 (see uuidgen(2)).
-o Redirect output to filename instead of stdout.
Batched generation yields a dense set of identifiers in such a way that there is no identifier that is larger than the smallest identifier in
the set and smaller than the largest identifier in the set and that is not already in the set.
When generating the identifiers one at a time, the identifiers will be close to each other, but operating system latency and processing time
will be reflected in the distance between two successive identifiers.
EXIT STATUS
The uuidgen utility exits 0 on success, and >0 if an error occurs.
SEE ALSO uuidgen(2), uuid(3)HISTORY
The uuidgen command first appeared in FreeBSD 5.0.
BSD May 23, 2012 BSD
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 (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)
Hi Guys,
I am trying to send email from solaris server using sendemail utility. I want to send multi content email. For example, i want to send email body with html file and a attachment of txt file. I using below code but the html not render correctly in email body.
(
echo "To:... (2 Replies)
Hi,
I am having trouble in sending a mail with html body and attachment (csv file). We don't have uuencode or mutt (not allowed to install as well)
The below code is perfectly working for sending the html body alone:
export MAILTO=abc@xyz.com
export CONTENT="/home/abc/list.html"... (2 Replies)
How to Send a mail with multiple attachment also differenet extension using uuencode in AIX.
Can you please help me.
---------------------------------------------------------
I have below code. But attachment not been attached.
(cat /aceapp/QATD011R4/ace.ofac/testofac/results/;uuencode... (9 Replies)
Hello All,
I have a query here. I want to send an email by sendmailcommand in BASH. So email should have body(by reading a Input_file) in it as well as it should send same Input_file as attachment too. To do so I have tried as following.
sendmail_touser() {
cat - ${Input_file_HTML} << EOF |... (5 Replies)
Hi All,
I want to send the csv to an email address.
I have tried the below two approaches.
Approach1: Got error -ksh: uuencode: not found
$ uuencode test_file.csv test_file.csv | mailx -s "Attaching test" msdc.kiran@gmail.com </usr/home/test_file.csv
-ksh: uuencode: not found
Approach2:... (6 Replies)
I need to create script to send mail to different group mail is like abc@gmail.com is group name and this group having 10 members. so how i can add the name of group and it resolve the members email id from the group and send mail automatically? how to do it by unix cmds. please help me
here in... (1 Reply)
Hi
We have a requirement to send email using shell script.email should have html body and pdf attachment. We used uuencode for attaching files and sendmail option to acheive and it is working fine. However custoemr wants to make body of email slightly dynamic. E.g dear customer in html file... (3 Replies)
The script works and creates a modified iso fine until I added the chrootbeg and chrootend functions and executed them. I'm sorry if I did something wrong this is my first post. I uploaded entire bash script for reference or in case you want to run it to debug it is called isoremast.txt.
... (5 Replies)