CHECKMAIL(1)
π CHECKMAIL β bestie, your mail is calling π
okay so real talk, this one is a tiny little legend and you're gonna love her. it's checkmail, from the General Commands Manual section of your friendly neighbourhood Unix box. she plays a sound file when the user receives mail π yes. that's the whole job. and she ate. β¨
β¨ NAME β¨
checkmail β plays a sound file when the user receives mail ππ¦
πΈ SYNOPSIS πΈ
checkmail
that's it. no flags. no args. no drama. she simply is. π
π« DESCRIPTION π«
so what does she actually do? checkmail peeks at the status of the user's mail drop π like a lil vibe check for your inbox.
- if new mail is waiting,
checkmailrunsplaybucketto play a sound π΅ and then returns an exit status of0π₯³ - if mail has been cleared, it returns an exit status of
2π - if there has been no change at all, it returns an exit status of
1π
ngl the exit statuses are the whole personality here, so memorize them:0= new mail,2= cleared,1= no change. periodt. π
and why does this exist? because checkmail is intended to be used with the checkCommand resource of xbiff π§ it's giving "little helper, big main character energy". to set that resource, you just add this line to your .Xdefaults file:
xbiff*checkCommand: checkmail
slay. that's it. that's the setup. π
π FILES π
these are the paths she cares about, bestie:
/usr/spool/mail/$USERβ the user's mail drop π¬$HOME/.mailstatβ holds the previous mail drop size π (this is how she knows if anything changed)$HOME/.mailsoundβ audio file to play when there's new mail πΆ
π¦ SEE ALSO π¦
go read these next, iykyk:
π COPYRIGHT π
Copyright 1994 Network Computing Devices, Inc.
π AUTHOR π
Greg Renda, Network Computing Devices, Inc. β legend behavior, honestly. π
and that's the whole page, bestie π this version is 1.9.5, straight out of the CHECKMAIL(1) era, and we're obsessed. mwah. π
β¨π
π¦ where this page comes from
- fedora 43: nas 1.9.5-11.fc41 Β· MIT
- fedora 43: nas 1.9.5-14.fc43 Β· MIT
- fedora 44: nas 1.9.5-15.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms