Read mail linux home

A classic!

In Linux, the mail command is a simple text-based email client that allows you to read and manage your email messages. Here's a brief overview of how to use it:

Reading mail

To read your email using the mail command, follow these steps:

  1. Open a terminal window.
  2. Type mail and press Enter. This will start the mail program.
  3. You will see a list of your email messages. Each message is represented by a number.
  4. To read a message, type the number of the message you want to read, followed by Enter.
  5. The message will be displayed in the terminal window.
  6. You can use the following commands to navigate and manage your email messages:
    • q to quit reading the message and return to the message list.
    • n to move to the next message.
    • p to move to the previous message.
    • d to delete the current message.
    • r to reply to the current message.
    • s to save the current message.

Basic commands

Here are some basic commands you can use with the mail command:

Tips and tricks

Here are a few tips and tricks to help you get the most out of the mail command: