2 of 2 deleted 8 characters in body
#!/bin/bash

var=$(cut -d" " -f 1 file1)
var1=$(cut -d" " -f 1 file2)

if [ "$var" == "$var1" ]
then
echo "columns are matching each other "
else
echo "columns are not matching with each other!"

fi