Access alias address mail

A classic Unix command!

alias, address, and mail are three separate commands in Unix-like operating systems. Here's a brief overview of each:

  1. alias: The alias command is used to create an alias for a command or a sequence of commands. An alias is a shortcut that allows you to run a command with a different name. For example, you can create an alias for the ls command to make it easier to run:

    alias ll='ls -l'

    This creates an alias called ll that runs the ls -l command. You can then run ll instead of typing ls -l.

  2. address: The address command is used to manage email addresses. It allows you to set up an email address for a user or a group of users. The address command is typically used in conjunction with the mail command to send email messages.

For example, you can use address to set up an email address for a user named "john":

address john

This sets up an email address for the user "john". You can then use the mail command to send an email message to "john".

  1. mail: The mail command is used to send and receive email messages. It allows you to compose, send, and receive email messages using a command-line interface.

For example, you can use mail to send an email message to a user named "john":

mail john

This opens a text editor where you can compose an email message to "john". You can then send the message by typing Ctrl+D or Ctrl+X.

In summary, alias is used to create shortcuts for commands, address is used to manage email addresses, and mail is used to send and receive email messages.