How to create swap file in GNU_Linux

create swap file linux mint debian ubuntu