Catalyzes the terminal (at the omega-position) hydroxylation of a fatty acid. Probably involved in alkane metabolism. Linoleic acid is the preferred substrate, but it acts on various other C-16, C-18 and C-20 saturated and unsaturated fatty acids, namely palmitic, palmitoleic, stearic, oleic, alpha-linoleic, arachidonic and myristic acid. an omega-methyl-long-chain fatty acid + O2 + reduced [NADPH--hemoprotein reductase] = an omega-hydroxy-long-chain fatty acid + H(+) + H2O + oxidized [NADPH--hemoprotein reductase] (9Z,12Z)-octadecadienoate + O2 + reduced [NADPH--hemoprotein reductase] = 18-hydroxy-(9Z,12Z)-octadecadienoate + H(+) + H2O + oxidized [NADPH--hemoprotein reductase] (9Z)-octadecenoate + O2 + reduced [NADPH--hemoprotein reductase] = 18-hydroxy-(9Z)-octadecenoate + H(+) + H2O + oxidized [NADPH--hemoprotein reductase] hexadecanoate + O2 + reduced [NADPH--hemoprotein reductase] = 16-hydroxyhexadecanoate + H(+) + H2O + oxidized [NADPH--hemoprotein reductase] (9Z)-hexadecenoate + O2 + reduced [NADPH--hemoprotein reductase] = (9Z)-16-hydroxyhexadec-9-enoate + H(+) + H2O + oxidized [NADPH--hemoprotein reductase] O2 + octadecanoate + reduced [NADPH--hemoprotein reductase] = 18-hydroxyoctadecanoate + H(+) + H2O + oxidized [NADPH--hemoprotein reductase] Up-regulated when grown on alkanes as sole carbon source. Belongs to the cytochrome P450 family.