Ubuntu18.04系統(tǒng)如何用dos2unix將dos格式文件轉(zhuǎn)為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對(duì)文件進(jìn)行轉(zhuǎn)換
vi test.txt
可以看到文件為dos格式
																	
																
dos2unix test.txt
																	
																
轉(zhuǎn)換后
																	
																
																	
																
																						
																					
sudo apt install dos2unix
																						
																					
3.使用dos2unix對(duì)文件進(jìn)行轉(zhuǎn)換
vi test.txt
可以看到文件為dos格式
																						
																					
dos2unix test.txt
																						
																					
轉(zhuǎn)換后
																						
																					
																						
																					
版權(quán)保護(hù): 本文「Ubuntu18.04系統(tǒng)如何用dos2unix將dos格式文件轉(zhuǎn)為unix格式」由 云主機(jī)配置專(zhuān)家 原創(chuàng),轉(zhuǎn)載請(qǐng)保留鏈接: http://m.iqcg.cn/docs/system/751.html

