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-
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-
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-
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.
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-
- Kill PId - This will generate a signal SIGTERM, specifying graceful termination of the process with process id - PId
- 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'.
Hi there very nice website!! Man .. Beautiful ..
ReplyDeleteSuperb .. 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. . . . . .