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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / aseem

rm never delete the link. only file get removed from index.
so it will not come when you will use ls command

Is This Answer Correct ?    6 Yes 1 No

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

Answer / chakri

if we do $rm filename, the file is is removed or
deleted.there is no utility to restore the file.

Is This Answer Correct ?    3 Yes 0 No

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

Answer / hari

no.mean command is description for the unix commands
ex:man cat
rm filname

Is This Answer Correct ?    0 Yes 0 No

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

Answer / balaji

actually, rm does not remove the link.
link can be deleted by using ulink.

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More Unix Commands Interview Questions

What is the difference between pipe and xargs?

2 Answers   Amazon, CTS,


How to see unused port number in Solaris?

2 Answers   HCL,


Who wrote grep?

0 Answers  


What is the nmap command?

0 Answers  


What is the significance of the 'tee' command?

0 Answers  






which script will invoke first ,when /etc/init.d starts

1 Answers  


what is the advaantage of each user having its own copy of the shell?

0 Answers   BMC, CNS, DELL, Infosys,


What is the use of egrep command in unix?

0 Answers  


Does cp command overwrite files?

0 Answers  


What is shrinking file system in AIX where it actually resides?

0 Answers  


how to find the 51th record of a file containing 100 records in unix.

12 Answers   IBM,


Write a command that will display files in the current directory, in a colored, long format.

0 Answers  


Categories