In the IUPAC system, nitriles are named by adding the suffix "-nitrile" to the parent alkane name that includes the carbon of the -CN group. Since there are two carbons in total, the name is ethanenitrile.