$n Where n is a positive integer and takes values from 1 to a greater value not restricted. n correspond to the position of an argument givent to a script or to a function $? Exit status of the last… Continue Reading →
Firstly, it’s good to remember these following points: CR is for Carriage Return LF is for Line Feed On windows line endings are represented by CRLF (CR+LF) On Linux line endings are represented by LF In a shell script you… Continue Reading →
Prerequisites Basic example without encoding headers Case of an existing SMTP server without authentication (smtpserver.nicodevlog.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 →
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 →