Here’s a few patterns I use to send a bash script’s output to a log file,to syslog, or as an email notification.
Source: Bash Output Patterns – Wood’s Words
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.