durukan@testserver:~$ sudo fallocate -l 1G /swapfile
durukan@testserver:~$ sudo chmod 600 /swapfile
durukan@testserver:~$ sudo mkswap /swapfile
durukan@testserver:~$ sudo swapon /swapfile
durukan@testserver:~$ sudo echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
durukan@testserver:~$ sudo free -h

Categories: Bash language

5 Comments

พิมพ์การ์ดงานแต่ง · 28/01/2025 at 10:21

… [Trackback]

[…] Read More Info here to that Topic: durukanbal.com/2022/04/17/bash-create-swap-file/ […]

kc9 · 30/01/2025 at 03:25

… [Trackback]

[…] Find More to that Topic: durukanbal.com/2022/04/17/bash-create-swap-file/ […]

ทำไม 7betcity ถึงเป็นเว็บ คาสิโนออนไลน์ · 30/01/2025 at 23:42

… [Trackback]

[…] Read More Information here on that Topic: durukanbal.com/2022/04/17/bash-create-swap-file/ […]

รีวิวเกมสล็อต · 31/01/2025 at 11:32

… [Trackback]

[…] Information to that Topic: durukanbal.com/2022/04/17/bash-create-swap-file/ […]

ลดผมร่วง · 07/02/2025 at 00:19

… [Trackback]

[…] There you will find 69920 more Info to that Topic: durukanbal.com/2022/04/17/bash-create-swap-file/ […]

Leave a Reply

Avatar placeholder