inodes

hi
i need to find all the files that r linked to the current file as i need to delete the file as well as few of its links :confused:
thnx in advance

looking at your post title i think you are talking about hardlinks, to delete a file and the hardlinks of that you could do:

# ls -i testfile <-- that shows you the inode of that file
202679 testfile
# find /mountpoint -inum 202679 -exec rm {} \; <-- will search all files with that inode and delete them

be careful, only do that in a specific file-system, otherwise there could be the possibility that you delete files from other file-systems with the same inode number if you start the find command from the root directory....