I have two different files with one column each. The file 1 has more info and I want a command to search the matches against the file 2 and then return the original file 1 with an extra column saying for example "match"
Mg_134 match Mg_560
I tried to use join and grep -Ff, but I would like to have this specific output. Thanks