Top Linux Interview Questions Part 1

1.What is Linux?

  • Linux is an operating system based on UNIX, and was first introduced by Linus Torvalds.
  • It is based on the Linux Kernel, and can run on different hardware platforms manufactured by Intel, MIPS, HP, IBM, SPARC and Motorola.
  • Another popular element in Linux is its mascot, a penguin figure named Tux.
What is Linux

2.What is the difference between UNIX and LINUX?

  • Unix originally began as a propriety operating system from Bell Laboratories, which later on spawned into different commercial versions.
  • On the other hand, Linux is free, open source and intended as a non-propriety operating system for the masses.

3.What is BASH?

  • BASH is short for Bourne Again SHell.
  • It was written by Steve Bourne as a replacement to the original Bourne Shell (represented by /bin/sh).
  • It combines all the features from the original version of Bourne Shell, plus additional functions to make it easier and more convenient to use.
  • It has since been adapted as the default shell for most systems running Linux.
What is BASH

4.What is Linux Kernel?

  • The Linux Kernel is a low-level systems software whose main role is to manage hardware resources for the user.
  • It is also used to provide an interface for user-level interaction.
What is Linux Kernel

5.What is LILO?

  • LILO is abbreviated as Linux Loader.
  • LILO is a boot loader for Linux.
  • It is used mainly to load the Linux operating system into main memory so that it can begin its operations.
  • It is used to load Linux into the memory and start the Operating system.
  • LILO can be configured to boot other operating systems as well.
  • LILO is customizable, which means that if the default configuration is not correct, it can be changed.
  • Config file for LILO is lilo.conf.
  • LILO is also a code snippet which loads PC BIOS into the main memory at the time of starting the computer system. It handles the following tasks:
    -Locating Linux kernel
    -Identifying other supporting programs and loading them in the memory
    -Starting Kernel
  • The selection of various kernel images and boot routines is supported by LILO. For this reason, it is known as boot manager.
What is LILO

6.What is a swap space?

  • A swap space is a certain amount of space used by Linux to temporarily hold some programs that are running concurrently.
  • This happens when RAM does not have enough memory to hold all programs that are executing.
What is a swap space

7.What is the advantage of open source?

  • Open source allows you to distribute your software, including source codes freely to anyone who is interested.
  • People would then be able to add features and even debug and correct errors that are in the source code.
  • They can even make it run better, and then redistribute these enhanced source code freely again.
  • This eventually benefits everyone in the community.
What is the advantage of open source

8.What are the basic components of Linux?

  • Just like any other typical operating system, Linux has all of these components: kernel, shells and GUIs, system utilities, and application program.
  • What makes Linux advantageous over other operating system is that every aspect comes with additional features and all codes for these are downloadable for free.
What are the basic components of Linux

9.Does it help for a Linux system to have multiple desktop environments installed?

  • In general, one desktop environment, like KDE or Gnome, is good enough to operate without issues.
  • It’s all a matter of preference for the user, although the system allows switching from one environment to another.
  • Some programs will work on one environment and not work on the other, so it could also be considered a factor in selecting which environment to use.
Does it help for a Linux system to have multiple desktop environments installed

10.What is the basic difference between BASH and DOS?

The key differences between the BASH and DOS console lies in 3 areas:

  1. BASH commands are case sensitive while DOS commands are not;
  2. 2under BASH, / character is a directory separator and \ acts as an escape character. Under DOS, / serves as a command argument delimiter and \ is the directory separator
  3. DOS follows a convention in naming files, which is 8-character file name followed by a dot and 3 character for the extension. BASH follows no such convention.

Related Searches to Linux interview Questions:

<--top toolbar--> <--button ad--> <--popunder-->