The rm command removes links to file. What does this mean?
How then is a file deleted from the
file system?

Answer Posted / usama el far

I think he is asking about this :

- when we remove a file what happens actually that it will
be removed from the inode table && its entery in the parent
directory will be removed too

here what happened that the file's data blocks were not
removed actually from the hard disk but there is no pointing
/ linking to it

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use grep command to list find the records of a file containing 10 different strings?

647


Name the various commands that are used for the user information in unix.

541


Which command is used to restrict incoming messages?

594


What does the command '$ls | wc –l > file1' do?

684


Differentiate cat command from more command.

578






What is ‘ps’ command for?

618


What do know about tee command and its usage?

591


Why is shebang used?

598


Which command is used to create a directory?

575


Why is it called a shebang?

574


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

962


Which command should you use to find the remaining disk space in unix server?

709


What is the use of the tee command?

602


How do I clear my terminal history?

586


What does touch command do in unix?

731