A study of the electron beam dynamics in the linac is conducted for the FERMI free electron laser (FEL) founded for construction at the Sincrotrone Trieste