How do I email a text file in Linux?

How do I email a text file in Linux?
Answer
Howto: Send The Content Of a Text File Using mail Command In Unix / Linux
  1. -s ‘Subject’ : Specify subject on command line.

  2. [email protected]
    : To email user.
  3. /tmp/output. txt : Send the content of /tmp/output. txt file using mail command.
 

Tìm kiếm

Back
Top