I use mailx to send mails from servers to me. The problem is that it comes as RTL and not LTR.

How can I define it in the command?

here is the command:

cat /tmp/monitor.log | mailx -s "Daily status of ${ihostname}" me@example.com
  • I don't know anything about RTL, so this is a shot in the dark - maybe you could use a special Unicode character in the text that switches the direction? en.wikipedia.org/wiki/Right-to-left_mark Jan 21 '14 at 10:56
  • My mistake. It came as RTL instead of LTR
    – Nir
    Jan 21 '14 at 12:21

You can define it as:

cat /tmp/monitor.log | mail -s "Daily status of ${ihostname}" person@email.com otherperson@email.com

  • How does this have anything to do with LTR/RTL?
    – Chris Down
    Jan 21 '14 at 9:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.