Skip to content

Instantly share code, notes, and snippets.

View RajuHarry's full-sized avatar
💭
It's not What you underneath, it is what you do that defines you.

Rajuharry RajuHarry

💭
It's not What you underneath, it is what you do that defines you.
View GitHub Profile
@Jeckerson
Jeckerson / create-swap.sh
Created September 21, 2019 12:29
Create swap file on Linux
fallocate -l 1G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo "/swapfile none swap sw 0 0" | tee -a /etc/fstab