Quote Originally Posted by Sponge Bob View Post
@sat no its not common filenames. But i got a list of the filenames i want to delete.
If you got a list with EXACT path/filename saved to /root/something.txt then you can use this:

#!/bin/sh
for i in `cat /root/something.txt`
do
rm -f $i;
done;