I have File1 having couple of columns and having around 10000 rows like below
VALUE1 VALUE2
ABC11111 9075ABC3
ABC22222 3456ABC4
ABC33333 6786ABC5
ABC44444 9846ABC6
ABC55555 3276ABC7
The other file FILE2 have multiple rows (1M+) and having VALUE1 (ABC11111,ABC22222) from FILE1
We Need to complete ABC11111 Work
Tomorrow ABC22222 is Holiday
Hello How are you ABC11111 doing
His name is ABC55555 Ramesh
I want To check if VALUE1 is present in FILE2 and if yes need to replace it with VALUE2 (Corresponding of VALUE1), below like output
We Need to complete ABC11111 Work --- > We Need to complete 9075ABC3 Work
Tomorrow ABC22222 is Holiday -----> Tomorrow 3456ABC4 is Holiday
Hello How are you ABC11111 doing -----> Hello How are you 9075ABC3 doing
His name is ABC55555 Ramesh -------> His name is 3276ABC7 Ramesh
Please Help how this can be achieved in Linux