mirror command to grep