Ubuntu18.04系统如何用dos2unix将dos格式文件转为unix格式
page-break-inside: auto; page-break-before: auto; page-break-after: auto;">1.更新软件列表
sudo apt update
2.安装dos2unix
sudo apt install dos2unix
3.使用dos2unix对文件进行转换
vi test.txt
可以看到文件为dos格式
dos2unix test.txt
转换后
sudo apt install dos2unix
3.使用dos2unix对文件进行转换
vi test.txt
可以看到文件为dos格式
dos2unix test.txt
转换后
版权保护: 本文「Ubuntu18.04系统如何用dos2unix将dos格式文件转为unix格式」由 云主机配置专家 原创,转载请保留链接: https://www.miandns.com/docs/system/751.html