You will get a mail in your receiver mail inbox like below. Testingįollow the below command to send mail from your Linux command line for testing purpose: # echo "Type Message Body Here" | mail -s "Type Message Subject Here" Mail command has been installed successfully on your Linux system. Verifying : mailx-12.4-8.8.amzn1.x86_64 1/1Ĭomplete! Mail Command Installation on Ubuntu/Debian Systemįollow this below command to install mail command on Ubuntu/Debian System. You will get some output like below: Loaded plugins: priorities, update-motd, upgrade-helper Mail Command Installation on CentOS/Redhat systemįollow the below Linux command to install mail command on Unix or Linux system #yum install mailx but I thing mail command is more popular. You can also find many other alternative of mail command which is used for sending mail form Linux command line like sendmail and mutt etc. In this tutorial I am going to explain how we can install mail command on Redhat, CentOS, Fedora, Ubuntu and Debian system. Mail command is one of them which is used for sending mail from Linux command line. If you have minimum operating system installation you will get only required packages on the system and it skipped all unnecessary packages. Most of commands you will not see in Linux operating system if you have installed minimum installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |