Linux Format

Set up your terminal and email like it’s 1983

W e’re going to kick it oldschool and learn how to W read and send emails using the command line. Why commandline email? The answer to that question will differ from user to user. For some, it is just less distracting, while others are in the command line anyway.

A practical reason to use it is the efficiency once you get used to searching and indexing. A tool such as Grep, which uses regular expressions, is powerful when used properly. Most of the email clients for the command line have these search features and also index the mails so you can find what you want to read.

If you need to send any logs from your activities, you can also use most clients for this. Any results that you get can be parsed by other tools and then sent in any format you like.

Most emails are just a few paragraphs about a particular subject. Sometimes, though, you need to format your output before you put it in your email. This job takes a few other tools to get right and, in combination, can make reports and other creations look consistent. Despite being command line, you can read HTML and other formats via tools available for this purpose.

Mail in a nutshell

The email protocol is one of the oldest on the internet. It handles both the format of the mails and the communication between nodes. The use of email has been and still

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format3 min readSecurity
ParrotOS
A security focused operating system that is well suited to the Raspberry Pi 4 2GB and upwards, but not Pi 5 for now. ParrotOS provides a plethora of security auditing tools for both red and blue team members. This is a great distro for learners and n
Linux Format2 min read
Automatic Tracking
TimeSlotTracker has activity monitoring and this includes an optional facility to take screenshots and T place them in a user-defined directory. However, this isn’t the type of intricate user monitoring that some of the other options offer. Idle dete

Related