Skip to Content
Learning the UNIX Operating System, Fourth Edition
book

Learning the UNIX Operating System, Fourth Edition

by Grace Todino, John Strang, Jerry Peek
December 1997
Beginner
106 pages
2h 45m
English
O'Reilly Media, Inc.
Content preview from Learning the UNIX Operating System, Fourth Edition

Electronic Mail

When you log in to your system, you may see a notice that says “You have mail.” Someone has sent you a message or document by electronic mail (email). With email, you can compose a message at your terminal and send it to another user or list of users. You can also read any messages that others may have sent to you.

Email has several advantages over paper mail: it’s convenient if you’re already logged in, it’s delivered much more quickly, you can send it to any number of people almost as easily as to just one person, and the messages can be stored for later reference.

There are a lot of email programs for UNIX. Some UNIX systems have only an old, simple program named mail, which this book doesn’t cover. Most UNIX systems have a Berkeley program called Mail (with an uppercase “M”), mailx, or just mail. A popular menu-driven program that’s easier to learn is called pine. All programs’ basic principles are the same, though. We’ll cover the Berkeley mail program.

Sending Mail

Your mail’s recipient doesn’t have to be logged in. The messages you send are stored in the recipient’s “mailbox,” a file deep in the UNIX filesystem (often located in the directory /usr/mail). Messages are kept there until the recipient logs in and decides to read them.

To send mail, give the address of each person you want to send a message to, like this:

mail address1 address2 ...

There are several kinds of addresses, too many to explain here. If you have questions, see one of the references ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning the Unix Operating System, 5th Edition

Learning the Unix Operating System, 5th Edition

John Strang, Grace Todino, Jerry Peek
Hands-On System Programming with Linux

Hands-On System Programming with Linux

Kaiwan N. Billimoria, Tigran Aivazian
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar

Publisher Resources

ISBN: 1565923901Catalog PageErrata