Multiple choice technology operating systems

I want to send a file as an attachment to my mailserver from my unix server using mailx. Which of the following will help me create the file as attachment?

  1. uuencode coomand

  2. attach command

  3. compress command

  4. Its not possilble to send attachment from unix

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The uuencode command converts binary files to ASCII format, allowing them to be sent as email attachments through the mailx utility. When piped to mailx, it properly formats the file as an attachment rather than inline text, which is the traditional Unix method for email attachments.