There are various methods to create a 150 GB file on Linux, but the fastest way to do so is to use fallocate. Open a terminal window and enter the command below:
$ fallocate 150G filename <enter>
The above command creates a 150 gb file named filename.