Skip to content

Commit c464c33

Browse files
author
CanhDX
committed
Update
1 parent 61422f6 commit c464c33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/Ubuntu1804.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,11 @@ Xóa swap
227227
swapoff -a
228228
rm -rf /swap.img
229229
```
230+
231+
Xóa cấu hình swap file trong file `/etc/fstab`
232+
```sh
233+
sed -Ei '/swap.img/d' /etc/fstab
234+
```
230235
> Kiểm tra
231236
```sh
232237
root@ubuntu:~# free -m

0 commit comments

Comments
 (0)