Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How to send an email using a single command?

Answer:

# echo World | mail -s Hello foo@example.com

  1. Send the crontab result to email
  2. How to get the IP address assigned to eth0 by a single command
  3. Check latest Gmail inbox from command line
  4. How to create a command shortcut
  5. How to combine the output of multiple commands into a single file?

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>