Added 'check' bash script for Linux.