Verified for current stable LTS
Mail Commands
Mail command syntax with verified terminal examples.
Commands
5 commands for Mail
mail Operations
Mail Command: Display Mail Help
mail -h mail Operations
Mail Command: Open Interactive Mail Prompt
mail mail Operations
Mail Command: Send Email With File Content
mail < <path/to/file.txt> --subject "<$HOSTNAME filename.txt>" <to_user@example.com> mail Operations
Mail Command: Send Email With Subject And Cc
mail --subject "<subject line>" <to_user@example.com> --cc "<cc_email_address>" mail Archive
Mail Command: Send Tar Gz File Attachment
tar cvzf - <path/to/directory1 path/to/directory2> | uuencode <data.tar.gz> | mail --subject "<subject_line>" <to_user@example.com> Suggest a Mail Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Mail workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.