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 |
In Unix file permissions what does the second field denotes?
What is the difference between Shell Programming and Shell scripting?
10 Answers HCL, TCS, Wipro,
How to redirect standard error to a file?
What is the basic difference between unix and windows operating systems?
43 Answers Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,
What do know about tee command?
How do you create a file in UNIX
36 Answers Accenture, EMG, Nokia, QA, TD,
How do you know about running processes of a particular user?
what is the difference between KILL and KILL -9?
5 Answers Informatica, Nutanix,
Which command is used to restrict incoming messages?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How to use grep command to list find the records of a file containing 10 different strings?
What command will bring user back to their home directory in UNIX?