answersLogoWhite

0

In some Unix and Linux systems there is a command called 'dos2unix' that will do the conversion automatically. If there isn't such a utility on your system you can use the 'tr' translate command to do the translation:

tr -d '\015' < windows-file > unix-file

which is essentially what dos2unix will do.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are unix and DOS?

Unix and MS-DOS are Operating Systems.


How do you convert gnu files to hp files in unix environment?

Depends on what you mean by a "gnu" file, since utilities are common across Unix platforms including HPUX. Need more information.


Can you access c language in dos and unix?

You can write, compile and execute C-programs in both DOS and Unix, if that's what you meant.


Concatenate two files without using strcat function?

Win/Dos: copy file1+file2 tofile unix: cat file1 file2 &gt;tofile


What are the advantages of unix os over ms-dos os?

Yes and no. If you have the hardware resources to run UNIX/Linux then you should. DOSBox can run any DOS program in UNIX, so there is no need for DOS if you can run UNIX. However, if you have an older computer or an embedded system where UNIX or Linux would have too much overhead, DOS is a better choice.


What are the dos files?

Dos files are the files with the extension .bat which are used for programming in DOS. This is also called as batch file programming.


Differences between UNIX and windows in tabular form?

1. Number of Users2. Task Processing3. Command-Line Interface4. Security5. Portability&Atilde;&tilde; DOS is Single-User&Atilde;&tilde; DOS is Single Process,&Atilde;&tilde; DOS has its command interpreter (command.com).&Atilde;&tilde; Some versions of DOS allow password protection on file&Atilde;&tilde; DOS runs on Intel processors and compatible devices (8088, 8086, 286, 386, 486, Pentium).&Atilde;&tilde; UNIX is Multi-User&Atilde;&tilde; , UNIX supports multi-processing, multiple processes per user, and job control from the shell&Atilde;&tilde; UNIX has the shell (C-shell, Korn Shell, Bourne Shell etc.)&Atilde;&tilde; . UNIX has username/password for logins, and user/group/world permissions on files and directories.&Atilde;&tilde; UNIX is available for a very wide variety of hardware platforms.


What was the first major microcomputer OS?

DOS


Is the architecture of Linux based on DOS?

No. Linux is a free, open-source version of UNIX. Many of DOS's commands were based on UNIX commands, but the underlying operating system is much more powerful than DOS.


Which come first dos or unix?

IBM 360 DOSUNIXMSDOSLinuxIBM 360 DOS preceded both UNIX & MSDOS. There might have been earlier DOSes than 360.


Why does Linux and unix share more commands than windows xp and unix?

Because Linux evolved from UNIX, but Windows evolved from DOS.


Which is the oldest operating dos or unix?

This question is ambiguous.While UNIX is clearly defined, confusion occurs between dos and DOS.DOS is the standard abbreviation for MS-DOS, the Microsoft disc operating system, while dos stands for disc operating system. Any disc operating system.UNIX was written in1969; it clearly antedates MS-DOS by about 10 years.The MULTICS dos was working in 1964, so it antedates UNIX.