Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

aws ec2 swap

# 4 GB
sudo dd if=/dev/zero of=/swapfile bs=128M count=32
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon -s
# Start the swap file at System Startup
sudo nano /etc/fstab
/swapfile swap swap defaults 0 0
Comment

PREVIOUS NEXT
Code Example
Shell :: recursively remove files with extension linux 
Shell :: git stash command with name 
Shell :: Update your Dart SDK 
Shell :: laravel generate random 6 digit number 
Shell :: get ram of ubuntu 
Shell :: apache show active sites 
Shell :: wsl docker System has not been booted with systemd as init system 
Shell :: print unique lines 
Shell :: remove user from sudo group 
Shell :: docker run dockerfile without building 
Shell :: ubuntu default phpmyadmin password 
Shell :: f.lux for ubuntu 18.04 
Shell :: powershell install oh-my-posh 
Shell :: adonis list routes 
Shell :: double dollar sign bash 
Shell :: how to unstash git stash 
Shell :: create folder shortcut on desktop ubuntu 
Shell :: download bangla font ubuntu 
Shell :: xcode print long string 
Shell :: delete all local branches webstorm 
Shell :: find text in files ubuntu 
Shell :: kill all process at port 
Shell :: django load data from json file 
Shell :: awk for loop 
Shell :: cocoapods not installed 
Shell :: error: insufficient permission for adding an object to repository database .git/objects 
Shell :: git error:Administrator@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 
Shell :: ubuntu show line in file containing text 
Shell :: how to remove every space in a string in bash 
Shell :: conda install tesseract 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =