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
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 |
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 |
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 |
Answer / hari
no.mean command is description for the unix commands
ex:man cat
rm filname
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / balaji
actually, rm does not remove the link.
link can be deleted by using ulink.
| Is This Answer Correct ? | 3 Yes | 4 No |
How would you find the size of a file or directory?
what are processor execution levels and priorities?
What does touch command do in unix?
Explain command to show the space allocation of files?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
7 Answers Alcatel, Cisco, Infosys, University Exams,
what do you understand by 'unix is a portable os'?
can we use cat command as an editor ..???
How are UNIX file permissions represented?
in a growing log file how will you see the 1st 99 lines?
Write a command to find all of the files which have been accessed within the last 30 days.
If we want to see first 35 lines of a file which command we have to use?
What is the difference between pipe (|) and tee command in unix