4 ms·
I disagree with your assessment, email is a service and not a server. A service can run on a server, or ephemerally as in this article (which still has servers
by stonesweep 5y ago
I disagree with your assessment, email is a service and not a server. A service can run on a server, or ephemerally as in this article (which still has servers underneath it, you're just not running them). S3 and SES are services running on servers.
- imwillofficial 5y agoYou are incorrect, see man pages.
- stonesweep 5y agoThis makes no sense (too abstract of a statement), but here let's try this: $ man systemd | head -4 | tail -1 systemd, init - systemd system and service manager An email daemon (Postfix, Exim, Dovecot, UW-IMAP, Sendmail, etc.) are services running on a server. An "email server" would be a server running a daemon to provide email service in this example.
- ape4 5y agoThis makes me think there should be a Linux tool to extract the Nth line of a file. With options to get the N-Mth lines, etc
- stonesweep 5y agoMan pages can be tricky as the content can vary distro by distro (how up to date is your copy of man-pages, what changes have happened, etc.) - this technique is pretty portable to extract the synopsis of a man page specifically due to the format it uses (most times I'd use like grep -A3 -B2 foo /some/file, e.g.).
- ape4 5y agoUgly way to get the first indented line: `man systemd | grep '^ ' | head -1` Which is the summary
- ipaddr 5y agoThere are many. Sed is fast. This will give you lines 11 to 500 sed -n '11,500p' < file.txt
- mprovost 5y agoCalling cut with a newline as the field delimiter works: man systemd | cut -d $'\n' -f 4 Works with multiple lines too: cut -d $'\n' -f 10-20,50-60
- imwillofficial 5y agoMakes plenty of sense: https://man7.org/linux/man-pages/man1/smtp.1.html https://man7.org/linux/man-pages/man1/smtp.1.html "SMTP transaction against an SMTP server"
- throwaway894345 5y ago> email is a service and not a server. Those aren't mutually exclusive, which is my whole point. One definition of "server" is "a service in a network". Another definition is "a computer in a network". So you can have a server running on a server without contradiction. If the user isn't responsible for managing the underlying computer, then you have a serverless server. > which still has servers underneath it, you're just not running them Of course, "serverless" means you don't have to worry about the underlying servers, not that they don't exist. Perhaps you were only clarifying and not nerd-sniping, but this particular nit is so boring and predictable in every serverless thread.
- stonesweep 5y ago> One definition of "server" is "a service in a network" Can you link to something where this is a common accepted definition? I'm a systems engineer by trade, talk to a bajillion people about all sort of things and we just don't call a "service in a network" a server in parlance. I was not nerd-sniping and could care less about serverless as a term, I'm specifically talking about calling a "service" a "server" in this chat. I feel this is presenting something as accepted definition which does not match my experience in the field.
- throwaway894345 5y ago> Can you link to something where this is a common accepted definition? I'm a systems engineer by trade, talk to a bajillion people about all sort of things and we just don't call a "service in a network" a server in parlance. This seems to be a common point of confusion for people who aren't native English speakers. Oxford English Dictionary defines "server" as: > a computer or computer program which manages access to a centralized resource or service in a network. Similarly, a quick bit of Googling turned up [this][1] which isn't authoritative, but indicates that "server" can mean either hardware, VM, or software services. [1]: https://stackoverflow.com/a/13118205/483347 https://stackoverflow.com/a/13118205/483347
- stonesweep 5y ago