何でgrep直接じゃなくcatを使うんだ?
$ grep -n target /etc/rc.d/rc.*