一、复制/etc/profile至/tmp目录里使用cp /etc/profile /tmp/ 将目标文件移动到/tmp下二、用查找替换命令删除/tmp/profile文件中的行首的空白字符进入文件编辑模式ide