What does uuencode do?
Uuencode (also called Uuencode/Uudecode) is a popular utility for encoding and decoding files exchanged between users or systems in a network. It originated for use between users of UNIX systems (its name stood for “Unix-to-Unix encoding”).
How do I send attachments in AIX?
Send email from unix (AIX) with PDF attachment uuencode pdf> pdf>|mailx -s < txt> This one send the message with attachment.
How do I use uuencode in mailx?
Method 2 : -a switch in mailx command Use the new attachment switch (-a) in mailx to send attachments with the mail. The -a options is easier to use that the uuencode command. The above command will print a new blank line. Type the body of the message here and press [ctrl] + [d] to send.
How install uuencode in Linux?
How to get uuencode on Fedora 17 Linux
- Find out what provides for uuencode using yum: yum provides uuencode.
- Read what yum tells you: sharutils-4.11.1-3.fc17.x86_64 : The GNU shar utilities for packaging and unpackaging shell archives Repo : @updates Matched from: Filename : /usr/bin/uuencode.
Is uuencode still used?
uuencode/decode became popular for sending binary (and especially compressed) files by email and posting to Usenet newsgroups, etc. It has now been largely replaced by MIME and yEnc.
How do I send an email with mailx?
Sending Messages
- Type the mailx command, followed by a user’s address: $ mailx user @ machine.
- When you press Return, the mailx program prompts you for a subject.
- Type the body of your message.
- When you have completed your message, press Return to move the cursor to a new line.
How do you send a test email in AIX?
configure Sendmail in AIX to send email notification
- You must know your mail server name.
- Add the IP address and hostname of mail server in /etc/hosts file.
- In the configuration file /etc/sendmail.cf, the line with DS must be modified and you must specified your mail server.
How do I send multiple attachments with uuencode?
uuencode can also be used to sent multiple attachments. The first line encodes the file “my_file” and creates the file “my_attachment”. The second line uses mailx to send the file “my_attachment” to [email protected] with a subject line of “This is a mail with only one attachment”.
How do I check if uuencode is installed on Linux?
Validate the installations # locate uuencode Will display the path of uuencode installations. In case if you do not have yum configured. You can manually download and install it from Redhat if you have access to red-hat.
What package is uuencode?
sharutils package
The uuencode and uudecode command comes with sharutils package.
What does uuencode do in Linux?
The uuencode command converts a binary file to ASCII data. This is useful before using BNU (or uucp) mail to send the file to a remote system. The uudecode command converts ASCII data created by the uuencode command back into its original binary form.
How to use uuencode command to encode a binary file?
uuencode command is used to encode a binary file as explained in the examples below. 1. Basic uuencode Example By default, uuencode takes input from the standard input, and writes it to the standard output as shown below. After typing the above two lines, press Ctrl-D, which will display the encoded output.
What does the uudecode command do?
The uudecode command converts ASCII data created by the uuencode command back into its original binary form. The uuencode command takes the named SourceFile (default standard input) and produces an encoded version on the standard output.