Pattern scan for Linux