Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

uuidgen(1) [osx man page]

UUIDGEN(1)						    BSD General Commands Manual 						UUIDGEN(1)

NAME
uuidgen -- generates new UUID strings SYNOPSIS
uuidgen [-hdr] DESCRIPTION
The uuidgen command generates a Universally Unique IDentifier (UUID), a 128-bit value guaranteed to be unique over both space and time. The following options are available: -hdr Emit CoreFoundation CFUUID-based source code for using the uuid in a header. RETURN VALUE
The UUID is printed to standard output as a hyphen-punctuated ASCII string of the form: EEF45689-BBE5-4FB6-9E80-41B78F6578E2 (in printf(3) format "%08X-%04X-%04X-%04X-%012X"), unless the -hdr option is given, in which case a fragment of source code is output. Mac OS X July 1, 2005 Mac OS X

Check Out this Related Man Page

UUIDGEN(1)						    BSD General Commands Manual 						UUIDGEN(1)

NAME
uuidgen -- generate universally unique identifiers SYNOPSIS
uuidgen [-1s] [-n count] [-o filename] DESCRIPTION
The uuidgen utility by default generates a single universally unique identifier (UUID), also known as a globally unique identifier (GUID). By default, uuidgen generates a single UUID and outputs it in the standard string representation to stdout. The following options can be used to change the behavior 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 count This option controls the number of identifiers generated. By default, multiple identifiers are generated in batch. -o filename Redirect output to filename instead of stdout. -s Output UUIDs as initialized C structures, rather than in the standard string format. 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. DIAGNOSTICS
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 NetBSD 3.0. BSD
September 13, 2004 BSD
Man Page

10 More Discussions You Might Find Interesting

1. Solaris

Send multi content email using sendemail utility

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

2. Shell Programming and Scripting

Sendmail cmd for html body and attachment not working

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

3. Shell Programming and Scripting

Sending a mail with different attachment in AIX

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)
Discussion started by: Swapnil Mawle
9 Replies

4. UNIX for Advanced & Expert Users

Regarding help in sendmail command

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

5. Shell Programming and Scripting

Content of attachment is displaying along with subject in mailx

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)
Discussion started by: ROCK_PLSQL
6 Replies

6. Shell Programming and Scripting

Sendemail how to send an email with a subject variable

Hi,:) I try this : #!/bin/bash sender="me@example.com" recipient="you@example.com" subject="TEST FILE" server="0.0.0.0" file=$(cat file.txt) /usr/bin/sendemail -f $sender -t $recipient -u $subject -m $file My file.txt: BLABLALA BLABLABLA (7 Replies)
Discussion started by: Arnaudh78
7 Replies

7. Shell Programming and Scripting

How to pass subject,mailbody and filename as parameters to function?

Hi Experts, how to pass subject,mailbody and filename as parameters to function. mode=$1 file=/db/files/uniq.txt mail_send() { export MAILPART=$(uuidgen) export MAILPART_BODY=$(uuidgen) { echo "TO:nalu.d@hes.com" echo "Subject:$subject" echo "MIME-Version: 1.0" ... (0 Replies)
Discussion started by: nalu
0 Replies

8. Forum Support Area for Unregistered Users & Account Problems

I need technical support

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

9. Shell Programming and Scripting

sed or awk removes attachment in email

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

10. UNIX for Beginners Questions & Answers

Iso - remaster script trying to start chroot run commands then exit but host system gets messed up

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