174829/how-to-attach-a-file-using-mail-command-on-linux
I'm on a server running a Linux shell. I need to mail a simple file to a recipient. How to do this, prefereably using only the mail command?
UPDATE: got a good solution, using mutt instead:
$ echo | mutt -a syslogs.tar.gz admin@domain.org
$ echo | mutt -a syslogs.tar.gz admin@domain.org READ MORE
I have a scanning server I wrote ...READ MORE
#!/bin/bash for i in `cat peptides.txt` do echo $i done READ MORE
If you've already configured the server, with ...READ MORE
mkdir -p /foo/bar && cp myfile "$_" ...READ MORE
To watch the step every say 30 ...READ MORE
Hi@akhtar, If you prefer using the command line, ...READ MORE
Try this command. mkdir -p /parent_dir/son_dir READ MORE
What's the easiest way to create a ...READ MORE
What are fast and reliable ways for ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.