- Identify configured swap devices and files with
cat /proc/swaps
. - Turn off all swap devices and files with
swapoff -a
. - Remove any matching reference found in
/etc/fstab
. - Optional: Destroy any swap devices or files found in step 1 to prevent their reuse. Due to your concerns about leaking sensitive information, you may wish to consider performing some sort of secure wipe.
man swapoff
Related Posts:
- QEMU: /bin/sh: can’t access tty; job control turned off
- Directory Inode vs Regular File Inode
- TCP congestion control version: HTCP module vs highspeed module in linux kernel
- How do I list loaded Linux module parameter values?
- Why don’t EC2 ubuntu images have swap?
- swap partition vs file for performance?
- Does the “bs” option in “dd” really improve the speed?
- Confused about stdin, stdout and stderr?
- Amazon Linux: apt-get: command not found
- How to set the environmental variable LD_LIBRARY_PATH in linux
- How do I grep recursively?
- How do I find all files containing specific text on Linux?
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- Where can I find php.ini?
- gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
- Linux: ‘Username’ is not in the sudoers file. This incident will be reported
- how to find libstdc++.so.6: that contain GLIBCXX_3.4.19 for RHEL 6?
- subprocess.Popen(): OSError: [Errno 8] Exec format error in python?
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- How can I recursively find all files in current and subfolders based on wildcard matching?
- Curl command for https ( SSL )
- How can I exclude directories from grep -R?
- How to exclude a directory in find . command
- Explaining the ‘find -mtime’ command
- WSL – GEDIT Unable to init server: Could not connect: Connection refused
- Install tkinter for Python
- Creating a new directory in C
- mv: cannot stat error : No such file or directory error
- Uncompress tar.gz file
- Linux error while loading shared libraries: cannot open shared object file: No such file or directory
- Pseudo-terminal will not be allocated because stdin is not a terminal
- screen Cannot open your terminal ‘/dev/pts/0’ – please check
- curl: (6) Could not resolve host: google.com; Name or service not known
- How to pass password to scp?
- scp gives “not a regular file”
- How to use regex with find command?
- CentOS error – sudo: effective uid is not 0, is sudo installed setuid root?
- Merge / convert multiple PDF files into one PDF
- scp from Linux to Windows
- How do I find the MySQL my.cnf location
- node.js: cannot find module ‘request’
- Getting stty: standard input: Inappropriate ioctl for device when using scp through an ssh tunnel
- What is the reason and how to avoid the [FIN, ACK] , [RST] and [RST, ACK]
- wget returns “Unable to establish SSL connection”
- How to make rpm auto install dependencies
- How do I install chkconfig on Ubuntu?
- List all mounts in Linux
- How to use sed to extract substring
- error : storage class specified for parameter
- Wait for user input in C?
- How do I write stderr to a file while using “tee” with a pipe?
- tar: Error is not recoverable: exiting now
- python-dev installation error: ImportError: No module named apt_pkg
- How to enable Bash in Windows 10 developer preview?
- WordPress Update – This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php
- WordPress sites being filled with random PHP files
- how to properly mount external server directory for wordpress uploads
- Is it a good idea to edit WordPress within Eclipse? [closed]
- How can I sort du -h output by size
- What exactly do the colors in htop status bars mean?
- Why is my crontab not working, and how can I troubleshoot it?
- Showing total progress in rsync: is it possible?
- How to bind MySQL server to more than one IP address?
- Why is “chmod -R 777 /” destructive?
- What’s the best way of handling permissions for Apache 2’s user www-data in /var/www?
- How to check if a library is installed?
- Is it normal to get hundreds of break-in attempts per day?
- How to setup passwordless `sudo` on Linux?
- How do I prevent accidental rm -rf /*?
- How do I verify the speed of my NIC?
- What does Virtual memory size in top mean?
- What’s the best way to check if a volume is mounted in a Bash script?
- How do I find the UUID of a filesystem
- Find out symbolic link target via command line
- Meaning of directories on Unix and Unix like systems
- How to handle security updates within Docker containers?
- Job scheduling using crontab, what will happen when computer is shutdown during that time?
- Is it possible to make Nginx listen to different ports?
- how do you create an ssh key for another user?
- REJECT vs DROP when using iptables
- Linux command line best practices and tips?
- How to run command as user who has /usr/sbin/nologin as Shell?
- How to get pid of just started process
- How to disable everything in crontab -l?
- df says disk is full, but it is not
- Perform rsync while following sym links
- What is the maximum port number?
- Show all users and their groups/vice versa
- Why is TCP accept() performance so bad under Xen?
- Caching/preloading files on Linux into RAM
- How to sort ps output by process start time?
- What’s wrong with always being root?
- Is there a proper way to clear logs?
- Hundreds of failed ssh logins
- Transfer 15TB of tiny files
- What should I do when I got the KEYEXPIRED error message after an apt-get update?
- Dump a linux process’s memory to file
- Command line program to test DHCP service
- Service start request repeated too quickly, refusing to start limit
- What is the difference between /sbin/nologin and /bin/false?