Not sure what im doing wrong, but im on a mac and have a split file, for over an hour now i have tried everything to join, but not getting anywhere

Iv tried dragging the folder into terminal and using the command, nothing
tried dragging in the 2 files, then the command, nothing

Terminal keeps telling me theres no directory, how do i tell it where the files are etc?
Cheers