[thechat] unix command problem

Anil Garg anilg at niksun.com
Sat Aug 10 13:05:02 CDT 2002


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 :)




More information about the thechat mailing list