Monday, April 1, 2013

Easy learn linux command line- Part 17

what do you do if you want to convert a file format from Dos to Linux Base OS?

to night we will learn how to use command line in linux terminal to convert some file format to linux and which commands use to recognize available format for convert.




Command Description
# dos2unix filedos.txt fileunix.txt convert a text file format from MSDOS to UNIX   
# recode ..HTML < page.txt > page.html convert a text file to html   
# recode -l | more show all available formats conversion   
# unix2dos fileunix.txt filedos.txt convert a text file format from UNIX to MSDOS   

No comments: