Software engineer >> Sysadmin >> Devops >> SRE

Note book to help you and me remember some tricks

Page 7 of 7

Send an email on Linux with CLI or shell script without installing anything (no ssmtp required)

Prerequisites Basic example without encoding headers Case of an existing SMTP server without authentication (smtpserver.codetodevops.com can be replaced by the domain name of your smtp server or its IP address): At the end you can see “\nSubject: TEST send mail… Continue Reading →

Shell script – Variables evaluation : display line endings \n and don’t cut your parameter function

How to pass string with several words and line endings \n as a parameter to a function Solution : Second test rst test : $myvar will be replaced by it’s value that contains a lot of words with spaces and… Continue Reading →

Hello world!

This my first post. Yet another dev/sysadmin blog?Not completely. This blog has two aims: be like my note book, and help me remember some tricks help you Then I’ll try to publish posts that fill these aims. Thank you for… Continue Reading →

Newer posts »

© 2025 Software engineer >> Sysadmin >> Devops >> SRE — Powered by WordPress

Theme by Anders NorenUp ↑