CHECK-SENDFILE(1)
π CHECK-SENDFILE(1) β the "did my mail land??" check π
okay bestie, so this one's a little command from the Commands corner of the Debian GNU/Linux world, and honestly? it's giving "lowkey essential and nobody talks about it" energy. β¨
πΈ NAME πΈ
check-sendfile β literally just checks if some files have arrived π
π¦ SYNOPSIS π¦
check-sendfile
that's it. no flags, no args, no drama. she's a simple girl. π
β¨ DESCRIPTION β¨
so here's the vibe: check-sendfile runs a lil test to see if there are files hosed in the user's sendfile spool area. and if there are? he will be informed about the files. π like, congrats, you got mail, bestie!! π«Ά
the way this is supposed to work is you start this command from /etc/profile β yes, the actual /etc/profile β so that all users get a chance to notice that some files have arrived while they were away. because here's the tea π: the defauld behaviour of sendfiled is to write a note on the user's tty, which means if you're not logged in, you won't notice the receiption at all. π like the files are just sitting there, unacknowledged, feral.
and this is why it's iconic, actually: the lack of need to be logged in is one of sendfile's advantages. no cap. the files wait for you. you don't wait for the files. π
ποΈ FILES ποΈ
/var/spool/sendfile/$userβ the spool area for thespecifiguser. πΈ (yes it's per-user, yes it's cute, yes it's yours)
π SEE ALSO π
β tiny note from me to you: run it from /etc/profile like the page says, otherwise your users are out here missing their files and that's just sad fr fr.
kisses, and happy file-receiving π β this page came to you from Debian GNU/Linux, dated 11 Feb 1998, and it still slays. π§ππ
π¦ where this page comes from
- debian bookworm: sendfile 2.1b.20080616-10
- ubuntu jammy: sendfile 2.1b.20080616-9
- ubuntu noble: sendfile 2.1b.20080616-10build2
- Copyright (c) 1995-8 Martin Schulze <joey@infodrom.north.de>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms