I don't know what command should I use in unix.
Let say I have a file like this:
A 23
B 52
C 36
F 25
and second file with 3 columns:
A aligator 2
B panda 3
C bear 4
D pig 1
E yeti 0
F shark 9
G dog 10
H cat 1
Now I would like to replace first column values (in 1 file) using the second column values (2 file) if the values from the first columns match between files
example of output:
aligator 23
panda 52
bear 36
shark 25
Can anyone help me?
best.