Skip to content
SudoAll.com

SudoAll.com

Practical deep-dives on Linux, AI, and large language models. 290+ technical articles for developers, sysadmins, and AI engineers.

Tag: email

One Liner Email from bash

Posted on March 25, 2013 by David Saliba

Simple:

# echo “This will go into the body of the mail.” | mail -s “Hello world” you@youremailid.com

nJoy 😉

 

CategoriesHowtos

One Liner to test php sending mail from a bash script

Posted on January 9, 2013March 25, 2013 by David Saliba

To check if your php installation can successfully send emails from a bash script try this :

 php -r ‘var_dump(mail(“david.saliba@testemail.com”, “test subject”, “test body”));’

Thanks Gareth !

nJoy 🙂 !

CategoriesHowtos

Latest Articles

This Week
  • Google’s TurboQuant Just Halved the Cost of Running Every AI Model on EarthMar 30
This Month
  • Lesson 43 of 55: Token Optimization and Tool Search for MCP at ScaleMar 22
  • Lesson 12 of 55: Server Instructions – Guiding Agents With InitializeResultMar 22
  • Lesson 55 of 55 (Capstone): Full MCP Platform – Registry, Gateway, and AgentsMar 19
  • Lesson 54 of 55 (Capstone): Enterprise Assistant With Auth, RBAC, and Audit LogsMar 19
  • Lesson 53 of 55 (Capstone): Multi-API Integration Hub With MCPMar 19
  • Lesson 52 of 55 (Capstone): Filesystem Agent With Claude and MCPMar 19
  • Lesson 51 of 55 (Capstone): PostgreSQL Query Agent With OpenAI and MCPMar 19
  • Lesson 50 of 55: Custom MCP Transports and Protocol Extensions in Node.jsMar 19
  • Lesson 49 of 55: MCP Protocol Versioning, Compatibility, and MigrationMar 19
  • Lesson 48 of 55: Cancellation, Progress, and Backpressure in MCP StreamsMar 19
  • Lesson 47 of 55: MCP Tasks API – Long-Running Async Operations and ProgressMar 19
  • Lesson 46 of 55: MCP Registry, Discovery, and Service Mesh PatternsMar 19
  • Lesson 45 of 55: CI/CD for MCP Servers – Tests, Versioning, Zero-Downtime DeploysMar 19
  • Lesson 44 of 55: MCP Observability – Logs, Prometheus Metrics, OpenTelemetry TracesMar 19

Recent Posts

  • Google’s TurboQuant Just Halved the Cost of Running Every AI Model on Earth
  • Lesson 43 of 55: Token Optimization and Tool Search for MCP at Scale
  • Lesson 12 of 55: Server Instructions – Guiding Agents With InitializeResult
  • Lesson 55 of 55 (Capstone): Full MCP Platform – Registry, Gateway, and Agents
  • Lesson 54 of 55 (Capstone): Enterprise Assistant With Auth, RBAC, and Audit Logs

Recent Comments

  • David Saliba on How LLMs Process Text – Tokenization Basics
  • Letta: The Stateful Agent Runtime That Manages Memory So You Don’t Have To – SudoAll.com on Your Agent Is Forgetting Things. Here’s How to Fix That.
  • Youstina on How LLMs Process Text – Tokenization Basics
  • Minxster on How to quit ESXi SSH and leave background tasks running
  • admin on Node.js handling mysql disconnects.

Archives

Categories

  • AI Foundations
  • AI Insights
  • Algo Trading
  • Amazon Cloud
  • Finance
  • General
  • Hardware
  • Howtos
  • Infra & Docker
  • LLM Architecture
  • MCP Protocol
  • Node Programming
  • Operating System Theory
  • Scripts
  • The Job
  • Troubleshooting
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Google’s TurboQuant Just Halved the Cost of Running Every AI Model on EarthMarch 30, 2026
  • Lesson 43 of 55: Token Optimization and Tool Search for MCP at ScaleMarch 22, 2026
  • Lesson 12 of 55: Server Instructions – Guiding Agents With InitializeResultMarch 22, 2026
  • Lesson 55 of 55 (Capstone): Full MCP Platform – Registry, Gateway, and AgentsMarch 19, 2026
  • Lesson 54 of 55 (Capstone): Enterprise Assistant With Auth, RBAC, and Audit LogsMarch 19, 2026
  • Lesson 53 of 55 (Capstone): Multi-API Integration Hub With MCPMarch 19, 2026
  • Lesson 52 of 55 (Capstone): Filesystem Agent With Claude and MCPMarch 19, 2026
  • Lesson 51 of 55 (Capstone): PostgreSQL Query Agent With OpenAI and MCPMarch 19, 2026
  • Lesson 50 of 55: Custom MCP Transports and Protocol Extensions in Node.jsMarch 19, 2026
  • Lesson 49 of 55: MCP Protocol Versioning, Compatibility, and MigrationMarch 19, 2026
  • Lesson 48 of 55: Cancellation, Progress, and Backpressure in MCP StreamsMarch 19, 2026
  • Lesson 47 of 55: MCP Tasks API – Long-Running Async Operations and ProgressMarch 19, 2026
Proudly powered by WordPress Arcaia theme by SudoAll