The line I seek is stored in the file data.txt and is the only line of text that occurs only once.
How do I go about finding that particular line using linux?
The following will get you what you need.
grep 'password' data.txt