linux delete the swap file code example Example: bash delete swap file find . -type f -name "*.sw[klmnop]" -delete