A command solves the problem of windows creating shell scripts that cannot run at linux-r because of formatting problems

A command resolved that shell scripts-r could not be run in linux because line breaks for shell scripts edited at windows environment were \n\r and the change of lines was only \n, so it was incompatible to determine first whether linux had installed dos2unix or not apt-get intostall dos2unix using commands dos2unix script names such as #dos2unix Shell.sh! Use sed-i to delete lines 94-97 sedi ’94, 97d’/root/.local/share/trowserver/tbb/x86_64tr-browser_en-US/Browser/strt-tr-browser_en-US

未经允许不得转载:萌萌Apprentissage » A command solves the problem of windows creating shell scripts that cannot run at linux-r because of formatting problems

Like (0) 打赏

Comments 0

Protected with IP Blacklist CloudIP Blacklist Cloud
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

//下一个脚本特效
//下一个脚本