Email Command Output

/ Published in: Other
Save to your folder(s)

Copy this code and paste it in your HTML
  1. # an easy way to email yourself a task in bash
  2. # the following example will email you a a dir list
  3. ls | mail -s "My Directory Listing" [email protected]

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.