In Terminal, I'm trying to replace SUBJECT and BODY from the command below:
with the piping of
I just can't figure out how to do it, any kind soul to help me with this please?
Code:
printf "From: Sender Name <sender@domain.com>\nTo: recipient@domain.com\nSubject: [COLOR="SeaGreen"][B]SUBJECT[/B][/COLOR]\n\n[COLOR="Red"][B]BODY[/B][/COLOR]\n" | /usr/sbin/sendmail -F "Sender Name" -f "sender@domain.com" "recipient@domain.com"
with the piping of
Code:
ls *
I just can't figure out how to do it, any kind soul to help me with this please?
Last edited: