File tree Expand file tree Collapse file tree
src/content/docs/configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ This guide assumes you have the default CachyOS setup with ZRam enabled and no s
411411 ```
412412 4. Add the swap file to ` /etc/fstab ` to make it persistent across reboots:
413413 ```bash
414- sudo echo "/swap/ swapfile none swap defaults 0 0" >> /etc/fstab
414+ echo "/swapfile none swap defaults 0 0" | sudo tee -a /etc/fstab
415415 ```
416416 </Steps >
417417 </details >
@@ -432,7 +432,7 @@ This guide assumes you have the default CachyOS setup with ZRam enabled and no s
432432 ```
433433 4. Add the swap file to ` /etc/fstab ` to make it persistent across reboots:
434434 ```bash
435- sudo echo "/swapfile none swap defaults 0 0" >> /etc/fstab
435+ echo "/swapfile none swap defaults 0 0" | sudo tee -a /etc/fstab
436436 ```
437437 5. Activate the swap file:
438438 ```
You can’t perform that action at this time.
0 commit comments