The command line is as follows:
plink --file FILENAME --make-bed --out FILENAME
The suffixes of the first FILENAME are .ped and .map, and the suffixes of the second FILENAME generated are .bed, .bim, .fam
Reference link:
https://www.biostars.org/p/203706/