# mail email@example.com
At that point you will be prompted for a subject.
Subject: just checking in
Hit the enter key and then type your message hitting enter until you get to your last line, where you are finished. Type in a . (period) in the first column. At that point, you will be prompted as to whether or not you wish to CC: anyone. If you do not, hit enter and that is all there is to it.
On the back-end, your system must be configured to send mail. More then likely you are running sendmail and you don't even know it. Type this in:
# ps –ef | grep sendmail
Obviously, you must also be connected to the Internet. Trying pinging a web-site;
# ping www.oracle.com.
If you see a response, that should tell you that you are connected. If not, you'll need to work with your network and/or security team to determine…
Mail and mailx are very similar; if you're working on a Solaris system, you should use mailx instead.
Dig Deeper on Linux servers
Related Q&A from Kenneth Milberg
Learn which makes more sense for your enterprise: building your own cloud-based diagnostic tooling or purchasing an existing product. Expert Ken ... Continue Reading
Learn about Helm Charts and how Kubernetes supports a microservices architecture. Expert Ken Milberg discusses what you need to know before delving ... Continue Reading
As blockchain matures, an ecosystem of tools continues to sprout up around it. Learn how these offerings, including the Hyperledger Fabric Client SDK... Continue Reading