I seem to get the same results from an IF statement, with grep as the arguement, no matter what. Here's the current code. Code: #!/bin/bash echo No logins found for these users > unused_mailboxes.txt ...