File created by Microsoft Publisher, a program used to create professional documents and marketing materials; contains raster and vector images, text, and drawn objects formatted in a document; used to create newsletters, brochures, posters, and other documents.
PUB files may also be used to integrate and store data sources for mail merges and generating datasheets.
File containing encrypted text that is used in public-key cryptography; used by a remote entity to encrypt data that only a local entity can decrypt using the corresponding private key; may also be used to decrypt data that is encrypted with a private key.
A common PUB file is id_rsa.pub. PUB files typically can be found under the ".SSH" hidden directory under the home director of a Linux user.