Hi, i get a list of files when i say ls *.php | grep doc now i want to remove all these files which i get (on doing ls *.php | grep doc) from command line and if possible then by using a single command. i am trying some commands like: rm ls *.php | grep doc rm | ls *.php | grep doc can someone help me with this thanx and regards anil :)