Rule 1. The IUPAC names nitriles by adding the suffix -nitrile to the name of the alkane with the same number of carbons.
Rule 2. When acting as substituents, the particle cyano..... is used, preceding the name of the main chain.
Rule 3. Nitriles attached to rings are named by ending the name of the ring with -carbonitrile.