ls > remfiles # OK
cp remfiles /usr/bin # OK
cd /usr/bin # OK
rm < remfiles # bad - should be rm -f `cat remfiles`
# and you should add:
With rm, files to operate on must be specified as parameters because rm doesn't read standard input.
'rm -f' will not ask you if you really want to delete files