Do you mean the text files that come with source code, and typically in general for linux software, and says something like "this is GPLv2, have a copy of it below." or have you paid for a bit of software and need to put the code to have it run somewhere?
For the former then /usr/share/doc/[whatever program or lib or whatever it is]/ will have a file called copyright in it, you can feed this to cat or your chosen text viewer.
For the latter then case by case basis.