Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
bash mail subject variable
hzl123
Programming language:
Shell/Bash
2021-05-25 08:13:15
0
Q:
bash mail subject variable
Pritam
Code:
Shell/Bash
2021-03-10 13:08:04
subj="hello from $(hostname -s) $(date)" echo "data" | mail -s $subj mail@mail
0
Tags
variable
sub
var
Related
bash sum variable
bash eval variable
linux mail command
special bash variables
linux send mail
bash send to dev null
bash special dollar sign shell varaibles
how to send mail and attachment using powershell
bash how to pass shell variables to awk
New to Communities?
Join the community