摘要:
shell 脚本文件Windows传到Linux后编码问题 下面这个标红的位置出现,是由于脚本从Windows机器上直接传到linux文件格式不对导致的。 cat -v a.sh help^M exit^M }^M [ $# -ne ${parasnum} ] && help_msg^M ^M ex 阅读全文
摘要:
echo 命令 -n:表示不换行; -e:对特殊字符的解释执行,比如说变色; 例: [root@bogon ~]# echo -n "test"test[root@bogon ~]# 阅读全文