0% found this document useful (0 votes)
2 views2 pages

Interview Linux

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Interview Linux

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Linux interview Questions--

1- https://www.geeksforgeeks.org/run-levels-linux/ -- Run Levels in Linux


Note:- the init 6 command gracefully reboots the system running all the K* shutdown
scripts first, before rebooting. The reboot command does a very quick reboot. It
doesn't execute any kill scripts, but just unmounts filesystems and restarts the
system. The reboot command is more forceful.

2 - LVM -- http://crowdforgeeks.com/interview-questions/top-100-logical-volume-
manager-linux-interview-questions-and-answers , (LVM & KVM Difference)

3 -All Run levels in detail and how to identify which run levels u r login
currently. Ans- who -r

4- How to configure Apache tomcat server--

5- Which servers used for sending any file from linux to window servers?

6-

[8:53 pm, 18/03/2023] H Ranjeet Artl: .file system softlink and hardlink
diffrence.

Difference between Hard link and Soft link


● Difficulty Level : Medium
● Last Updated : 07 Apr, 2020
• Read
• Discuss
• Courses
• Practice
• Video
Hard Link :
A hard link acts as a copy (mirrored) of the selected file. It accesses the data
available in the original file.
If the earlier selected file is deleted, the hard link to the file will still
contain the data of that file.
Soft Link :
A soft link (also known as Symbolic link) acts as a pointer or a reference to the
file name. It does not access the data available in the original file. If the
earlier file is deleted, the soft link will be pointing to a file that does not
exist anymore.
Some notable differences between the two are listed below:
Comparison Parameters Hard link Soft link
Inode number* Files that are hard linked
take the same inode number. Files that are soft linked
take a different inode number.
Directories Hard links are not
allowed for directories.
(Only a superuser* can do it) Soft links can be used for
linking directories.
File system It cannot be used
across file systems. It can be used
across file systems.
Data Data present in the original
file will still be available
in the hard links. Soft links only point to the
file name, it does not retain
data of the file.
Original file’s deletion If the original file is removed, the link
will still work as it accesses the data the
original was having access to. If the original file is removed, the link
will not work as it doesn’t access the
original file’s data.
Speed Hard links are comparatively faster. Soft links are comparatively
slower.
Note:
● Inode number – Index node number is a unique number assigned to all files in
a Linux/Unix system.
● Superuser – A superuser has more rights compared to an ordinary user. They
can change file ownership and set permissions.
Diagrammatic representation:

2 what is inode.
Ans- What are inodes in Linux?
Last updated on: 2021-03-19
Authored by: Miguel Salgado
________________________________________
This article provides an overview of the concept of inode and some helpful
commands.
What is an inode?
Linux® must allocate an index node (inode) for every file and directory in the
filesystem. Inodes do not store actual data. Instead, they store the metadata where
you can find the storage blocks of each file’s data.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy