2
我使用下面的代码使用的ksh脚本来发送邮件在UNIX电子邮件错误信息非法选项S IN的ksh脚本
echo "Hi. here is my message body" | mail -s "test mail ksh" "[email protected],[email protected]"
,但我一直提示以下错误:
mail: illegal option -- s
usage: mail [+] [-epqr] [-f file]
mail [-dt] persons
请与帮助正确的格式使用。