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.
To Open up a terminal window on your Linux computer, press Alt+F2 to pull up the following window. You will see a terminal window. At the $ prompt, you can type any commands. This is also called the command line in Linux.