wsl_problem

linux cp 出现 cannot stat 路径后面出现

一般由于在window下编辑的文档换行符是\r\n,而unix下换行符为\n。导致的问题。

sudo apt-get install dos2unix 

使用命令转换:

dos2unix filename
comments powered by Disqus