how to get /r and /m in /etc/motd
"Christopher L. Barnard" <[email protected]> Fri, 20 Mar 2009 16:30:53 -0500
| Newsgroups | gmane.linux.redhat.rhn.user |
|---|---|
| Organization | Rush University Medical Center |
| Message-ID | <[email protected]> |
My /etc/motd has both \r and \m in it, but it is printed verbatim on login. I'm guessing that these are `uname -r` and `uname -m`, but if I put those in the motd, even with the backquotes, it is still printed verbatim. Since the out-of-the-box RH distrtibution has \r and \m in the /etc/motd (or /etc/issue; I don't recall) there must be a way to get them expanded to their actual values. Has anyone managed to do this? -- Christopher Barnard -------------------------------------------------------------------------- comment your code as if the maintainer will be a homicidal maniac who knows where you live.