Couple of questions wth grep/sort

view story

http://www.unix.com – I have different things that I was trying to do but am kind of struggling with this since I'm a Linux noob. The backround is that I have two files with student names in the same directory, and each file lists the student name, their major and their grade level. What is the most efficient way to get a total count of students that are only enrolled in one class (listed only once) from these two files? Initially I tried to get a count and pipe it out, but was at a loss as to how to get a count of the students only enrolled in one class, but this is where I am at now. Code: grep -c &quot (HowTos)