This is probably another super simple question, I just can't figure it out. I'm writing a script that needs to comment out all the lines of a file that have any instance of the word "NETWORKID". The problem is, the code I have is putting a "#" at the beginning of all the lines of the particular file. (/etc/profile)

What I have is this:

```
grep -i "NETWORKID" /etc/profile | sed 's/^/#/'

```

Any thoughts? Thanks in advance!