# mail firstname.lastname@example.org
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 Unix-to-Linux migration
Related Q&A from Kenneth Milberg
Unix-to-Linux migration expert Ken Milberg describes how virtualization, support, clustering and more fit into the migration of an IT infrastructure ...continue reading
A reader new to Linux wonders about which distribution is recommended for installing Nagios and what Nahant and Tikanga mean.continue reading
Documentation for Red Hat Enterprise Linux 5 covering checking system performance, tuning, kernel configuration and extending the file system exists ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.