#!/bin/bash
    
    var=$(cut -d" " -f 1 list1.txt)
    var1=$(cut -d" " -f 1 list2.txt)
    
    if [ "$var" == "$var1" ]
    then
    echo "columns are matching each other "
    else
    echo "columns are not matching with each other!"
    
    fi