Sswap (Secure Swap Wiper)
The sswap command performs a similar function, but for swap space on the hard drive. Linux supports many types of memory, including DRAM, SRAM, and flash. These commands can be used to compact any type of physical memory. swapon /all A symlink as specified in another system’s configuration file or from within an image that has been created with some special options (see Formatting Image Contents). When invoked without arguments, it unmounts all files using write-only storage: do not change this if you don’t want your images or other documents or data copied over these filesystem changes. If no parameters are given, nothing happens after swapping is complete, so return status codes will become 0.
ls sudo sswap temp ls
Ways to Permanently and Securely Delete ‘Files and Directories’ in Linux
Linux is an open-source operating system that is loved by tech geeks. It is a versatile operating system that can be used on thousands of different hardware configurations. The most interesting feature of Linux is its command line interface. This feature allows you to perform multiple operations within the operating system with just a few commands. One of the most useful commands in the Linux command line is the rm command. You can use this command to delete files and directories within the operating system. But, if you use rm to remove a file, it might be possible to recover some of its contents, given sufficient expertise and time.
So, there are 6 Different ways to Permanently and Securely Delete ‘Files and Directories in Linux.
- Method 1: Shred command
- Method 2: Wipe Command
- Method 3: Using Secure-delete Package ToolKit
- Method 4: SFill (secure free disk and inode space wiper)
- Method 5: Sswap – Secure Swap Wiper
- Method 6: sdmem – Secure Memory Wiper
Let’s Explore one by one: