xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

mac terminal show You have new mail All In one

mac terminal show You have new mail All In one

crontab

https://www.cnblogs.com/xgqfrms/p/15384401.html

$ cat /var/mail/$USER

$ cd /var/mail/ && ls -al

$ man mail

$ mail

$ sudo rm /var/mail/USERNAME



& vs &&

➜  mail  cd /var/mail/ & ls -al 
[1] 85733
[1]  + 85733 done       cd /var/mail/
total 0
drwxrwxr-x   2 root  mail    64 Oct 21 18:31 .
drwxr-xr-x  27 root  wheel  864 Aug 13 00:24 ..
➜  mail  cd /var/mail/ && ls -al 
total 0
drwxrwxr-x   2 root  mail    64 Oct 21 18:31 .
drwxr-xr-x  27 root  wheel  864 Aug 13 00:24 ..

refs

https://mycyberuniverse.com/macos/how-fix-you-have-mail-macos-terminal.html

https://stackoverflow.com/questions/22163102/you-have-mail-message-in-terminal-os-x



©xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2021-10-21 18:37  xgqfrms  阅读(26)  评论(1编辑  收藏  举报