Loading...

Interview Questions


What is a maximum length for a filename under Linux?


The maximum length for a filename under Linux is 255 bytes

What are /etc/hosts and /etc/resolv.conf files in Linu


  • /etc/hosts: This file translates or maps any domain name or hostname to its corresponding IP address.

  • /etc/resolv.conf: This file configures DNS name servers because it includes the information of the name server, i.e., information of our DNS server. Then, the DNS server resolves the IP address hostname.

What are the three standard streams under Linux?


In Linux, standard streams are I/O communication channels among a program and its environment. In the Linux environment, input and output are distributed around three standard streams, which are mentioned below:

  • stdin (Standard Input)

  • stdout (Standard Output)

  • stderr (Standard Error)

What is Kernel? Explain its functions.


A kernel is considered the main component of Linux OS. It is simply a resource manager that acts as a bridge between hardware and software. Its main role is to manage hardware resources for users and is generally used to provide an interface for user-level interaction. A kernel is the first program that is loaded whenever a computer system starts. It is also referred to as low-level system software.

Its other main functions include: 

  • Memory Management

  • Process Management

  • Device Management

  • Storage Management

  • Manage access, and use of various peripherals that are connected to the computer.

What do you mean by Linux Shell? Explain its types.


Linux Shell is called the user interface available between the kernel and the user. It is used to execute communication and commands with Linux operating system. Linux shell takes human-readable commands as input and transforms them into a language that is kernel understandable.

Different shell types are used on classic Linux systems, as mentioned below:

  1. Bourns Shell
  2. ZSH
  3. TCSH
  4. Bourns Again Shell or BASH
  5. Korn Shell or KSH
  6. C Shell or CSH

Name some Linux variants.


Some of the Linux commands are:

  • CentOS

  • Ubuntu

  • Redhat

  • Debian

  • Fedora

Is Linux Operating system virus free?


No, there is no operating system till date that is virus free, but Linux is known to have less number of viruses.

Which partition stores the system configuration files in Linux system?


/stc partition.

What is a virtual desktop?


The virtual desktop is used as an alternative to minimizing and maximizing different windows on the current desktop. Virtual desktop facilitates you to open one or more programs on a clean slate rather than minimizing or restoring all the needed programs.

What are the file permissions in Linux?


There are 3 types of permissions in Linux OS that are given below:

  • Read: User can read the file and list the directory.
  • Write: User can write new files in the directory.
  • Execute: User can access and run the file in a directory.


Categories ( 117 )