Added pattern scanning for Linux