删除文件行末尾的^M符号方法

有时发现某些文件的末尾总是带有^M符号

cat /etc/hosts.allow|col -b > /etc/hosts.allow.old

 

posted @ 2019-05-23 17:17  cptao  阅读(624)  评论(0编辑  收藏  举报