Top 50 Linux Interview questions and answers for Beginners. Do you answer all?
1. What is Linux? How is it different from UNIX?
Linux is free open source multi-user operating system that is built on Linux kernel.The first version of Linux operating system was released on September 17, 1991, by Linus Torvalds.
Some Difference between Linux and Unix Operating System
|Linux is open source anyone can use it free of cost||UNIX is copyrighted only big companies like IBM AIX and Sun Solaris and HP-UX use it|
|Linux is just a kernel.||Unix is complete operating system|
|By default, Linux supports and use ext3 or ext4 file systems||Unix comes with jfs, gpfs (AIX), jfs, gpfs (HP-UX), jfs, gpfs (Solaris) filesystems|
|Redhat Enterprise Linux
Fedora Linux, Debian Linux, Suse Enterprise Linux, Ubuntu Linux are some popular Linux OS.
|HP-UX, IBM AIX, Sun Solaris, Mac OS X are some Unix based operating systems
|Linux is considered as most user-friendly UNIX like operating systems.||Apple OS X is most popular UNIX operating system for desktop usage.|
2. Compare Linux with Windows?
1) Linux is opensource, the complete source code for Linux is available.
2) Linux is the GPL-licensed operating system, you are free to modify that software and use and even republish or sell it.
3) Download once and install it on as many PC you want.
4) Online peer support from the community via forums and online search.
1) Source code for windows is not available.
2) You can modify or redistribute Window operating system.
3) In Windows, you are bounded to use one license in One PC only.If you have to install it on other PC you need another Licence.
4) Paid help desk support.
3. What is a kernel?
Kernal is the core of any operating system. Kernal acts as a middle man between computer hardware and operating system and controls everything on a computer.It is the first program that is loaded when a system starts.
4. What does uname command do?
<b>uname </b> is reporting command is Linux that is used to retrieve basic information about a computer’s hardware and software.
Synatax: uname [options]