Pascal files end with a .pas extension.
Pascal files are compiled using the following command:
fpc filename.pas
Code can be excuted by double clicking the executable file made after compiling or by executing the following command:
./filename