Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

What do you mean by Hard Links in Linux?

Answer»

What do you mean by Hard Links in LINUX?
When we SAY about Hard Links in Linux it is a another NAME for any ALREADY exist file. For EVERY file we can create an unlimited number of hard links. They have the ability to generate links for other hard connections. To get total number of hard links in a file we use command "ls -l". And to create Hard links we use below commands:-
$ ln [original filename] [link name]

2.

What command is used to print a 50 lines on a page from some file in linux?

Answer»

What command is USED to print a 50 lines on a PAGE from some file in linux?
We use below command to print 50 lines from some file in Linux:-
PR -l50 file_name
This above command with -l option specifies the different length. And DEFAULT page length when using pr is 66 lines.

3.

What is the length of FileName in Linux?

Answer»

What is the LENGTH of Filename in LINUX?
In Linux maximum length of a filename is 255 BYTES. And the maximum COMBINED length of both the file name and path name is 4096 bytes.

4.

What is Kali Linux and its release and new features?

Answer»

What Kali Linux and its RELEASE and new features?
Kali Linux is formaly known as BackTrack Linux. It is a open source and debian based Linux distribution. Kali linux have several hundred tools and there main target is security tasks like Reverse Engineering, Security Research, COmputer forensics and Penetration testing. Kali Linux is multi platform solution and freely available to all information security professionals and hobbyists.
Kali Linux 2022.1 version was first version of 2022 released by Offensive security. Below are the new features included in this release:-
(1)Visual Refresh:-As we knows visual means appearance and here we get updated wallpapers and GRUB theme.
(2)Shell Prompt Changes:-Some visual improvements while copying code is now more accurate.
(3)New Tools:-Many of new tools added and in percentange main focus is on ProjectDiscovery!
(4)Accessibility Features:-Some EXCELLENT features added like Speech synthesis is back in Kali installer once again.
(5)Refreshed Browser Landing Page:-In browser like FIREFOX and Chromium homepage has had a makeover to help you access everything Kali you need.
(6)Kali Everything IMAGE:-One of the advance feature is that now all-in-one solution is now available to download or we can say all-packages-in-one.
(7)VMware i3 Improvements:-In this version Host-guest features work PROPERLY now on i3.
(8)Kali-Tweaks Meets SSH:-Connect to old SSH servers using legacy SSH protocols and ciphers

5.

Name the two of different kinds of Linux User Modes?

Answer» NAME the TWO of different KINDS of Linux User Modes?
Below are the two different kinds of Linux user modes:-
(1)Command LINE
(2)GUI
6.

What is LILO and different tasks handle by LILO?

Answer»

What is LILO and different tasks handle by LILO?
LILO is one of the boot loader for LINUX. Its full form is Linux Loader. We used LILO to load Linux into memory and helps in starting the operating system. LILO is customizable and we can configure it to boot other operating systems as well from LILO. If the DEFAULT configuration in LILO is not correct we can changed in it. The file used for config in LILO is lilo.conf. LILO other features is that it is also a CODE snippet that loads PC BIOS into the MAIN memory at the time starting the computer system.
Below are the different tasks handle by LILO:-
(1)It helps in starting the kernal
(2)It helps in locating Linux kernel
(3)It helsp in identifying other SUPPORTING programs and loading them in memory
LILO is also knows as "boot manager" because of selection of various Kernel images and boot routines is supported by LILO.

7.

Explain Zombie Process in Linux?

Answer»

Explain Zombie PROCESS in Linux?
Zombie Process is one of the process whose execution is done or completed but it entry is still exists in process table. Just like zombie died but there presence is still there. Another DEFINATION is Zombie processes are the processes which are died but exit status is not picked by the parent process.

Usually Zombie processes occur for child processes as we KNOW parent process still needs to read its child exit status. Parent process will USE wait system call to ELIMINATE the zombie process from process table. And this is also known as reaping of Zombie process.

Below is the diagram which will helps you to understand some facts about Zombie process.


Zombie Process

8.

Different steps to shrink or reduce the size of LVM partition?

Answer»

Different steps to shrink or reduce the size of LVM partition?
Below are the 3 common step to reduce the LVM partition size in Linux:-

(1)First we will USE Unmount command to Unmount the FILE system.

(2)In 2nd step we use resize2fs command as follows:-
resize2fs /dev/mapper/myvg-mylv 10G

(3)In last third step we use lvreduce command as below GIVEN format
lvreduce -L 20G /dev/mapper/myvg-mylv

As per above command we reduce the size of LVM partition and fix the size of file system to 20GB as in above command.