今天写bash执行cd时出现
no such file or directory
解决办法
tr -d "\r" < oldname.sh > newname.sh
参考:
http://stackoverflow.com/questions/4918249/cd-does-not-work-in-shell-script
今天写bash执行cd时出现
no such file or directory
解决办法
tr -d "\r" < oldname.sh > newname.sh
参考:
http://stackoverflow.com/questions/4918249/cd-does-not-work-in-shell-script