Bitcoin Core on a Linux partition on MacBook... Lost bitcoin due to insufficient disk space to update blocks
You can set Bitcoin Core to run in "pruning mode" which will then keep only the last few blocks instead of the whole blockchain.

To enable pruning, you add the line 

prune=&lt;n&gt;


to your configuration file whereby you replace &lt;n&gt; with the number of megabytes of blockchain data you want to keep. The minimum is 550. 

The configuration file can be found in the Bitcoin data directory by default it's found at ~/.bitcoin on Linux. The configuration file is called bitcoin.conf. If the file doesn't exist yet, you can just create a text file by that name.

Also see:


How can I run bitcoind in pruning mode?
Where is the data folder for Bitcoin-Qt?
Jameson Lopp's Bitcoin Core Config File Generator