How to Use this script
Step-1 Create a file name it 'user_name.sh'
Step-2 Copy Complete below written script in the file created and save it.
Step-3 Set executable permission by runing following command ( [ root @ server1~ ]# chmod a+x user_name.sh ) .
Step-4 Run script like ./user_name.sh which will draw chess board on terminal.