具体命令如下:
grep -r $'\xEF\xBB\xBF' /var/www
用vim去除utf-8 BOM
1.’去掉utf-8 BOM
:set nobomb
2.’保留utf-8 BOM
:set bomb