Changes
Sending emails via command line (view source)
Revision as of 21:43, 23 March 2018
, 21:43, 23 March 2018→Method 2
:~# touch /tmp/mail.txt
:~# touch /tmp/mail.txt
This will create and empty text file called mail.txt in the '''/tmp/''' directory. Feel free to name this file whatever you like just keep in mind that you'll have to modify the given command accordingly.
This will create and empty text file called mail.txt in the '''/tmp/''' directory. Feel free to name this file whatever you like.
To edit the newly create file, use the '''vi''' command:
To edit the newly create file, use the '''vi''' command: