answersLogoWhite

0


Best Answer

Windows uses a character sequence to indicate the of a line, which is usually a carriage return - line feed sequence. This is two characters for the end of every line. You might see a sequence of x'0D0A' characters to end a line in Windows.

UNIX uses the concept of a 'newline', which is a single character (usually a X'0A' character) to indicate the end of a line.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How are end of line characters different in Windows and UNIX?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why do you think Linux and unix share more command than windows xp and unix?

Because Linux was modeled after Unix, and designed to be a suitable free replacement. Windows is targeted at a slightly different market, and was primarily designed to be operated using a GUI, not the command line.


WHY DO YOU THINK LINUX AND UNIX SHARE MORE COMMANDS THAN WINDOWS XP AND UNIX?

Because Linux was modeled after Unix, and designed to be a suitable free replacement. Windows is targeted at a slightly different market, and was primarily designed to be operated using a GUI, not the command line.


Why do you think Unix and Linux share more commands than Windows XP and Unix?

Because Linux was modeled after Unix, and designed to be a suitable free replacement. Windows is targeted at a slightly different market, and was primarily designed to be operated using a GUI, not the command line.


What is difference between text files in windows and UNIX?

Both platforms are ASCII platforms, but the difference is the line termination character. In Windows, there is a two character sequence to denote the end of the line (CR/LF sequence, 0D0A) For Unix, the line termination character is the newline character (0A), to denote the end of the text line.


Why does Unix and Windows use the CD command line to change directories?

Because CD is short for "Change Directory"


How do you delete a line in unix?

It depends entirely on which editor you are using; the commands are different in the different editors.


What are the functions of line discipline in unix?

1. To parse input strings into lines. 2. To process erase characters. 3. To echo(write) received characters to terminal.


What are the different types of buffering in unix?

Fuly buffered Line buffered Un buffered


Does UNIX have a command line interface?

Several different versions of UNIX have GUI's or Graphical User Interfaces. The most common example of UNIX with an interface is Mac OS X.


How do you log into Unix?

You can log in via telnet or ssh protocol for a command line prompt environment to Unix, or you can use a graphical user interface such as KDE or Gnome, or the CDE environment via X-windows. In any of these protocols, you must supply a username and password to successfully log into the Unix system.


What are some differences between Unix and Windows?

Windows and Unix-like systems are generally very different operating systems. Note that I will use the term 'Unix' to refer to any operating system similar to Unix in function (e.g. all Linux distributions, FreeBSD, Solaris, HP-UX, AIX). Here are some key points that you will probably find the most interesting:Cost: Windows typically costs $100-$300 per installation, even if it was installed as part of an OEM distribution (the price is added to the cost of the computer). On the contrast, most 'modern' flavors of Unix are free (as in freedom) software (sometimes called 'open source'). There are many proprietary Unix systems available, but are usually not very different from their open counterparts.Interoperability: Most Unix-like systems are designed to be modestly interoperable. In fact, in order to be legally called a Unix system, it has to pass a series of POSIX-compliance tests. This means that software designed for one Unix system can be ported to another relatively easily. On the other hand, a Windows program will generally take more effort to port to another system.User interface: Windows provides a graphical interface by default. Unix-like systems tend to prefer a text-driven command-line interface, but graphical interfaces are also widely used. Some Unix-like systems do provide a graphical interface by default (notably most Linux distributions). Unix-like systems offer a variety of different graphical interfaces for the user to pick from, such as KDE, GNOME, Xfce, LXDE, IceWM, and TWM (in no particular order).Programs: Many people argue that more developers write programs for Windows than other Unix-like systems (Mac excluded), simply because of Window's sheer popularity. Most users will find that their favorite programs still work on Unix (i.e. Firefox, Chrome, LibreOffice). On the other hand, there are little to no viruses written for Unix-like systems.Speed/Stability: Windows has historically been less secure and stable than Unix-like systems. Some Unix systems are notorious for being unstable, and Windows is also used in high-availability server systems. Unix has generally been faster and more secure than Windows.The Big Kahuna - User-friendliness: Both Windows and Unix have come a long way in terms of user-friendliness. Windows has been difficult in the past, and Unix has been remarkably simple to install and use. The general agreement is that Windows is more 'friendly' than Unix-like systems, but most Linux distributions do require little technical knowledge to install.


What is the difference between Windows and Unix?

Windows and UnixAs far as operating systems go, to some it would seem as if UNIX has a clear advantage over Windows. UNIX offers greater flexibility than Windows operating systems; furthermore, it is more stable and it does not crash as much as much as Windows. To some, UNIX is just as easy to use as Windows, offering a GUI interface as well as command line. But there are users out there that believe UNIX is for only for computer gurus only, claiming that the fragmentation of the UNIX GUI is its greatest competitive weakness. One thing that has been established though, UNIX is quite a bit more reliable than Windows, and less administration and maintenance is needed in maintaining a UNIX system. This is a huge cost saver for any organization. Rather than employing many individuals to maintain a Windows based system, one part-time employee would be needed for the upkeep of a typical size UNIX system. One key difference between UNIX and Windows is the implementation of multiple users on one computer. When a user logs onto a UNIX system, a shell process is started to service their commands. Keeping track of users and their processes, a UNIX operating system is able to keep track of processes and prevent them from interfering with each other. This is extremely beneficial when all the processes run on the server, which demands a greater use of resources - especially with numerous users and sizeable applications.Another main difference between UNIX and Windows is the process hierarchy which UNIX possesses. When a new process is created by a UNIX application, it becomes a child of the process that created it. This hierarchy is very important, so there are system calls for influencing child processes. Windows processes on the other hand do not share a hierarchical relationship. Receiving the process handle and ID of the process it created, the creating process of a Windows system can maintain or simulate a hierarchical relationship if it is needed. The Windows operating system ordinarily treats all processes as belonging to the same generation.UNIX uses daemons, Windows has service processes. Daemons are processes that are started when UNIX boots up that provide services to other applications. Daemons typically do not interact with users. A Windows service is the equivalent to a UNIX daemon. When a Windows system is booted, a service may be started. This is a long running application that does not interact with users, so they do not have a user interface. Services continue running during a logon session and they are controlled by the Windows Service Control Manager.UNIX has a novel approach to designing software. Since UNIX is open-sourced, it attracts some very intelligent programmers who develop many applications free of charge. With this in mind, many designers choose to resolve software problems by creating simpler tools that interconnect rather than creating large application programs. In contrast, Windows applications are all proprietary and costly. With UNIX, each generation extends, rather than replaces the previous like Windows it is rarely necessary to upgrade - old and new Unix are all compatible. The main reason for this is the way UNIX is built, which is on a solid theoretical foundation. There are many advantages to this, for instance, a book written 20 years ago that discusses programming UNIX can still be used today. Imagine trying to figure out how to run Windows XP with a Window 3.1 manual - it can't be done.One argument to be made about UNIX is its lack of standardization. Some feel there are too many choices to be made regarding which GUI to use, or which combination of UNIX hardware and software to support. UNIX operating systems make great high-performance servers, but for end-users, every application on each arrangement of UNIX platform requires a different set, and each application has a different user interface. Microsoft has "the" Windows operating system; there simply isn't one standardized UNIX operating system, or for that matter, a single standardized UNIX GUI. One could argue and say this is a downfall for UNIX, but on the other hand, these variations add flavor and versatility to a solid, reliable operating system.In summary, the best way to choose between UNIX and Windows is to determine organizational needs. If an organization uses mostly Microsoft products, such as Access, Front Page, or VBScripts, it's probably better to stick with Windows. But, if reliability, universal compatibility, and stability are a concern, UNIX would probably be the way to go.Here is more input:Simply stated, the main difference is Windows uses a GUI (Graphical User Interface) and UNIX does not. In Windows one uses the click of a mouse to execute a command where as in UNIX one must type in a command. There are GUIs that can be used in a UNIX environment though very few UNIX users will stoop that low to use one.) Before there was a Windows environment, DOS (Disk Operating System) was used on PCs. DOS was based on and was similar, but only a poor subset, to the UNIX system.Differences between UNIX and WINDOWS: Unix is safe, preventing one program from accessing memory or storage space allocated to another, and enables protection, requiring users to have permission to perform certain functions, i.e. accessing a directory, file, or disk drive. Also, UNIX is more secure than Windows on a network because Windows is more vulnerable than UNIX. For example, if you leave a port open in Windows it can be easily used by a hacker to introduce a virus in your environment.Unix is much better at handling multiple tasks for a single user or for multiple users than windows. For each user, Unix in general, and especially Sun's Solaris provides many more utilities for manipulating files and data than windows does. For a corporate environment, Unix ( especially Solaris ) provides much more control for the administrator than windows does. Solaris, for example, enables the administrator to mirror or stripe data across several disks to minimize risk or optimize performance without 3rd party products. In general, for a programmer or for an administrator, Unix provides more power and flexibility than windows. For the less sophisticated user, Windows can often more easily be installed and configured to run on cheaper hardware to run a desired 3rd party product. In short -- Unix is better, Windows is easier for less sophisticated users.