Difference between UNIX and Linux:
That's a very broad question and could be answered any number of ways. Probably the simplest answer is that from a technical point of view there are no major differences. Most people aren't satisfied with believing that Linux and UNIX are very similar, though. Here's a list of the most obvious remaining differences.
Origin: UNIX originated in the laboratories of universities and large corporations, as an initiative within the context of those organisations. Linux was begun by a university student (Linus Torvalds) without any initial support from any large organisation. Linux also began as in mimickry of other well-known UNIX-like implementations, whereas the initial UNIX implementations were original research. Most commercial UNIX versions are also derived from that early research.
Service Model: Most UNIX versions operate on the basis that you can buy help (support and service contracts). Although such things are increasingly available to Linux technologists, traditional arrangements consist of providing your own help, with the assistance of a community of like-minded people. Linux is big, and access to communities is more important than, say, it is for IBM mainframes.
Equipment: Although Linux runs on many kinds of equipment, it is best known for its support of commodity IBM-Intel PC-based hardware. Most of the more popular UNIX flavours focus on high-performance hardware, usually of a proprietory nature, or using high-end standard computing architectures, like SPARC. With ever-increasing gains in PC hardware, like Serial-ATA, this distinction is not as large as it used to be, especially for low performance uses, like desktops.
Licensing: Linux follows the Free Software Foundation's radical licensing model, which provides a great deal of liberty to those that interact with Linux technology. UNIX versions provided by other vendors have profit strategies embedded in them. People who offer Linux services might have a profit strategy, but Linux itself doesn't. This means that vendor lock-in is less of an issue with Linux than it is with other UNIX offerings. It also means that organisations big enough to have a center of computing competancy always have the choice of "doing it themselves."
Honesty: Linux and related software is extremely visible. You can find out about flaws before you commit to the technology rather than afterwards. Because of this, a version number in Linux is a more relable indicator of the quality of the software than in UNIX. For example, most Linux software spends a long time being version 0 (zero) before it ever qualifies for the label "version 1."
In terms of quality, performance and feature set, there's little to separate Linux from the other UNIXes. Linux has yet to provide genuine real-time scheduling, which some other UNIX versions do well.
Unix was developed using ‘C’ Language. Unix was the foundation on which Linux was built. Unix has Character based environment while Linux has Graphical as well as Character based environment. Unix has less numbers of utilities & Features as compare to Linux.Ex: Number of shells and editors available in Linux is more than Unix.
Tuesday, June 10, 2008
What is the difference between unix and Linux?
What is the difference between kernel and microkernel?
- micro_kernel: A micro-kernel is a minimal operating system that performs only the essential functions of an operating system. All other operating system functions are performed by system processes.
- kernel:The kernel is the part of the Operating System(OS) that interacts directly with the hardware of computer ,through device drivers that are built into the kernel. It provides set of services that can be used by programs ,insulating these programs from the underlying hardware.
What is kernel?
kernel:The kernel is the part of the Operating System(OS) that interacts directly with the hardware of computer ,through device drivers that are built into the kernel. It provides set of services that can be used by programs ,insulating these programs from the underlying hardware.
Major functions of kernel are:
1. to manage computer memory
2.to control acces to the computer
3.to maintain file system
4.to handle interrupts
5.to handel errors
6.to perform input and output services(which allows computers to interact with terminals,storage devices and printers) and
7.to allocate the resources of the computer(such as CPU and input/output devices) among users.
How do i partition the disk under red hat linux?
Check hard disk device
and use the fdisk and the hard disk device name eg /dev/sda
- cfdisk also good
how do you mount Linux partition on windows
mount -t cifs
ex : mount -t cifs //ntserver/download -o username=
Saturday, May 31, 2008
How do you get current CPU utilization, memory and disk space usage in Linux/Unix?
What are the commands?
- quota
All are allocated a certain amount of disk space on the file system for their personal files, usually about 100Mb. If you go over your quota, you are given 7 days to remove excess files.
To check your current quota and how much of it you have used, type
% quota -v
dfThe df command reports on the space left on the file system. For example, to find out how much space is left on the fileserver, type
% df .
duThe du command outputs the number of kilobyes used by each subdirectory. Useful if you have gone over quota and you want to find out which directory has the most files. In your home-directory, type
% du
- use prstat
- For CPU utilization "top" can be used.
Is ‘du’ a command? If so, what is its use?
some of the options for "du" are :
du -k : returns the disk usage in KBs
du -k
: gives the disk usage by direcotry and all its sub-directories in KBs.
"du" does not show the free disk space. Use "df" for this.