Top Linux Interview Questions and Answers for Job - Askrajnishonline

Breaking

About:

Askrajnishonline.blogspot.com is a personal blog which tells you what is seo and how it works, seo tutorial, seo fundamentals, types of seo, what is seo in digital marketing, how to do seo, off page submission websites like social booking etc and on page seo checklist 2020.

Sunday, March 17, 2019

Top Linux Interview Questions and Answers for Job

Linux is an open source operating system, Today you will learn here top Linux Interview Questions and Answers.



Ques. What is Linux?
Ans. Linux is an open source operating system developed from scratch by Linus Trovald.

Ques. What are some basic features of Linux?
Ans. Some of the features of Linux are-
  • Multiuser
  • Multitasking
  • Secure
  • Portable
  • Open source

Ques. What is a Linux Loader or LILO?
Ans. Linux loader or LILO is a boot loader for Linux that loads the operating system into memory. Now-a-days, it is considered more of a legacy application superseded by GRUB(GRand Unified Boot loader) and GRUB2 bootloaders.

Ques. What is Shell?
Ans. A shell is a program that acts as an interface between the user and operating system, allowing a user to execute commands e.g. Bourne shell(sh), bash(Bourne Again Shell) etc.

Ques. What is a swap space? What are its advantages?
Ans. Swap space is a piece of hard-disk storage that is used when the system needs more memory but the RAM is full. In such cases, the inactive memory pages are moved to swap space to free RAM.

Ques. What is a process in Linux?
Ans. A process is an instance of a program under execution. In Linux, there are two kinds of processes-
  • Foreground processes
  • Background processes.
Ques. How can we list all the process running on a machine?
Ans. Using Top utility, we can list all the running processes. Running 'top', lists important attributes of the process like PID(process id), user/userId, parent process id, virtual memory used, physical memory used, process status, CPU utilization, process start time, command initiating the process etc.

Ques. How can we stop or terminate a running process in Linux?
Ans. Kill command is used to terminate a running process in Linux. There are two variants of killing a process-
  1. Kill PId - This will generate a signal SIGTERM, specifying graceful termination of the process with process id - PId
  2. Kill -9 PId - This will generate a signal SIGKILL specifying forceful termination of the process with process id - PId
Ques. What is a daemon?
Ans. Daemons are the processes that run in background either at predefined time or in the event of a trigger. As a convention, daemon names in Linux end with the letter 'd'.

If you want to read more question and answer from Linux interview questions

Source - ArtOfTesting

1 comment:

  1. Hi there very nice website!! Man .. Beautiful ..
    Superb .. I'll bookmark your blog and take the
    feeds additionally? I amm glad to search out a lot of useful info heree within thee post, we ned work out extra strategies
    in this regard, thank you for sharing. . . . . .

    ReplyDelete

Share your view about this post with me and please don't do spamming here !!