And unto Caleb the son of Jephunneh he gave a part among the
children of Judah
That is, Joshua gave it to him. This account is inserted before the cities in the lot of the tribe of Judah were enumerated, to show what was to be excepted from them, and which had been given to Caleb previous to the lot:
according to the commandment of the Lord to Joshua;
for as he had declared this to Moses, ( Deuteronomy 1:36 ) ; so it seems he also gave the same order to Joshua, who, it is not improbable, might consult the Lord about it when Caleb made his request, ( Joshua 14:12 ) ;
[even] the city of Arba the father of Anak, which [city is] Hebron;
(See Gill on Joshua 14:15).