SlideShare a Scribd company logo
1 of 10
Download to read offline
How Linux allows
us to Remove
Files that are in
use?
Suresh Krishna
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
1 of 10 How Linux allows us to Remove Files that are in...
Links in Linux
Hard Links
Soft Links
Removal of a File
Total Anhilation
Table of Content
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
2 of 10 How Linux allows us to Remove Files that are in...
Every file in linux is a link to the physical content on disk.
These files point to the inode table that has corresponding
meta-datas for each content.
Link counts are number of links made to file’s content.
Links in Linux
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
3 of 10 How Linux allows us to Remove Files that are in...
These are links which point directly to the inode and access the
physical data.
The maximum number of hard links to a file is limited by the
reference counter.
Hard Links
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
4 of 10 How Linux allows us to Remove Files that are in...
These links do not point to the physical data on disk.
They instead contains the reference to another file.
It contains the path to the file.
Soft Links
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
5 of 10 How Linux allows us to Remove Files that are in...
Lets create a file "file1.txt"
Now put some data into him.
Lets create a hard link "file2.txt" to the contents he is pointing to.
Removal of a File
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
6 of 10 How Linux allows us to Remove Files that are in...
Now we shall remove the "file1.txt".
Removal of a File
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
7 of 10 How Linux allows us to Remove Files that are in...
The contents are still on disk.
Lets remove the "file2.txt" too.
Removal of a File
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
8 of 10 How Linux allows us to Remove Files that are in...
Let’s destroy a system.
In a Virtual Environment.
Total Anhilation
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
9 of 10 How Linux allows us to Remove Files that are in...
Thank You!
1 / 10
file:///home/user/Desktop/Links/links.html#title-slide
10 of 10 How Linux allows us to Remove Files that are in...

More Related Content

Similar to Links

Operating system
Operating systemOperating system
Operating system
HarshithaAllu
 
Linux basics
Linux basicsLinux basics
Linux basics
Deepa
 
Setters sales resource centre
Setters sales resource centreSetters sales resource centre
Setters sales resource centre
GarageAIST
 
1192020 Tutorial 3httpslinuxzoo.netpagewildcards_tu.docx
1192020 Tutorial 3httpslinuxzoo.netpagewildcards_tu.docx1192020 Tutorial 3httpslinuxzoo.netpagewildcards_tu.docx
1192020 Tutorial 3httpslinuxzoo.netpagewildcards_tu.docx
aulasnilda
 
Linux introduction-commands2338
Linux introduction-commands2338Linux introduction-commands2338
Linux introduction-commands2338
Cam YP Co., Ltd
 
Os10
Os10Os10
Os10
issbp
 

Similar to Links (20)

How to Recover Deleted Files on Windows 10/11?
How to Recover Deleted Files on Windows 10/11?How to Recover Deleted Files on Windows 10/11?
How to Recover Deleted Files on Windows 10/11?
 
Operating system
Operating systemOperating system
Operating system
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Programming Embedded linux
Programming Embedded linuxProgramming Embedded linux
Programming Embedded linux
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-os
 
computer notes - Unix primer
computer notes - Unix primercomputer notes - Unix primer
computer notes - Unix primer
 
DFSNov1.pptx
DFSNov1.pptxDFSNov1.pptx
DFSNov1.pptx
 
Linux Systems Programming: File Handling
Linux Systems Programming: File HandlingLinux Systems Programming: File Handling
Linux Systems Programming: File Handling
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Setters sales resource centre
Setters sales resource centreSetters sales resource centre
Setters sales resource centre
 
I Am Linux-Introductory Module on Linux
I Am Linux-Introductory Module on LinuxI Am Linux-Introductory Module on Linux
I Am Linux-Introductory Module on Linux
 
1192020 Tutorial 3httpslinuxzoo.netpagewildcards_tu.docx
1192020 Tutorial 3httpslinuxzoo.netpagewildcards_tu.docx1192020 Tutorial 3httpslinuxzoo.netpagewildcards_tu.docx
1192020 Tutorial 3httpslinuxzoo.netpagewildcards_tu.docx
 
Linux introduction-commands2338
Linux introduction-commands2338Linux introduction-commands2338
Linux introduction-commands2338
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
 
Linux introduction-commands2338
Linux introduction-commands2338Linux introduction-commands2338
Linux introduction-commands2338
 
Os10
Os10Os10
Os10
 
Linux training
Linux trainingLinux training
Linux training
 
Linux workshop
Linux workshopLinux workshop
Linux workshop
 
Linux file system
Linux file systemLinux file system
Linux file system
 

Recently uploaded

Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
Kira Dess
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
rahulmanepalli02
 

Recently uploaded (20)

CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
 
Intro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney UniIntro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney Uni
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Students
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 

Links

  • 1. How Linux allows us to Remove Files that are in use? Suresh Krishna 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 1 of 10 How Linux allows us to Remove Files that are in...
  • 2. Links in Linux Hard Links Soft Links Removal of a File Total Anhilation Table of Content 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 2 of 10 How Linux allows us to Remove Files that are in...
  • 3. Every file in linux is a link to the physical content on disk. These files point to the inode table that has corresponding meta-datas for each content. Link counts are number of links made to file’s content. Links in Linux 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 3 of 10 How Linux allows us to Remove Files that are in...
  • 4. These are links which point directly to the inode and access the physical data. The maximum number of hard links to a file is limited by the reference counter. Hard Links 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 4 of 10 How Linux allows us to Remove Files that are in...
  • 5. These links do not point to the physical data on disk. They instead contains the reference to another file. It contains the path to the file. Soft Links 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 5 of 10 How Linux allows us to Remove Files that are in...
  • 6. Lets create a file "file1.txt" Now put some data into him. Lets create a hard link "file2.txt" to the contents he is pointing to. Removal of a File 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 6 of 10 How Linux allows us to Remove Files that are in...
  • 7. Now we shall remove the "file1.txt". Removal of a File 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 7 of 10 How Linux allows us to Remove Files that are in...
  • 8. The contents are still on disk. Lets remove the "file2.txt" too. Removal of a File 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 8 of 10 How Linux allows us to Remove Files that are in...
  • 9. Let’s destroy a system. In a Virtual Environment. Total Anhilation 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 9 of 10 How Linux allows us to Remove Files that are in...
  • 10. Thank You! 1 / 10 file:///home/user/Desktop/Links/links.html#title-slide 10 of 10 How Linux allows us to Remove Files that are in...