将/etc/issue文件中的内容转换为大写后保存至/tmp/issue.out文件中 tr ‘a-z’ ‘A-Z’< /etc/issue > /tmp/issue.out 或者 tr [:lower:] [:upper:] < /etc/issue > /tmp/issue.out