Install mail command on Fedora 22+ and CentOS/RHEL 8 sudo dnf install mailx.Install mail command on CentOS/Redhat 7/6 sudo yum install mailx.For RHEL based systems, this command installed from mailx rpm packages and on Debian based system this command found in mailutils package.Įxecute one the following command based on the operating system: Let’s use one of below command to install mail command as per your operating system. There are many other alternatives to mail command for sending emails from Linux command line interface. Most of Debian based systems will show error like “The program ‘mail’ is currently not installed. mail command is useful for sending emails from Linux command line which is used for almost Linux operating system. In minimum operating system installation only required packages are installed for running an operating system and skipped unnecessary packages. With the minimum installation of any Linux operating system, you will not see most of the commands in your system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |