linux-space-booster

linux-space-booster

Sponsored New

Linux Space Booster is an advanced, secure disk space cleanup utility specifically designed for Linux virtual machines. It intelligently cleans caches, logs, and temporary files to reclaim valuable disk space without risking system stability or user data.

dr34mhacks
Jun 15, 2025
Category
Resources
GitHub Stars
0
Project Added On
Jun 15, 2025
Contributors
1
# ๐Ÿš€ Linux Space Booster ![Linux Space Booster](https://img.shields.io/badge/Linux%20Space%20Booster-v1.0-blue) ![License](https://img.shields.io/badge/license-MIT-green) ![Platforms](https://img.shields.io/badge/platforms-Kali%20|%20Ubuntu%20|%20Debian%20|%20Mint-purple) ![Build Status](https://img.shields.io/badge/build-passing-brightgreen) ![Disk Space Freed](https://img.shields.io/badge/freed-2.9GB%20and%20counting-orange) **Advanced Disk Space Management Utility for Linux Virtual Machines** **Linux Space Booster** is an advanced, secure disk space cleanup utility specifically designed for Linux virtual machines. It intelligently cleans caches, logs, and temporary files to reclaim valuable disk space without risking system stability or user data. With built-in safety checks and distribution-specific optimizations, Linux Space Booster is the perfect solution for maintaining lean, efficient VMs for development, penetration testing, and general use.

โœจ Key Features

  • ๐Ÿ›ก๏ธ Safe By Design: Critical system paths protected with multiple safety checks
  • ๐Ÿง  Intelligent Cleaning: Distribution-specific optimizations for maximum effectiveness
  • ๐Ÿ” Comprehensive Analysis: Visual disk usage summary with cleanup recommendations
  • ๐Ÿงน Targeted Cleanup: Multiple cleanup modes from basic to advanced
  • ๐Ÿ“Š Detailed Reporting: Complete cleanup reports with space freed metrics
  • โš™๏ธ Cross-Distribution Support: Works on Kali, Parrot, Ubuntu, Mint, and Debian-based systems
  • ๐Ÿ”„ Interactive Interface: User-friendly menu with interactive confirmations

๐Ÿ”ง Installation

Quick Install

# Clone the repository
git clone https://github.com/dr34mhacks/linux-space-booster.git

# Navigate to the directory
cd linux-space-booster

# Make the script executable
chmod +x linux_space_booster.sh

# Run the script
sudo ./linux_space_booster.sh

Optional: Make it available system-wide

sudo cp linux_space_booster.sh /usr/local/bin/linux-space-booster
sudo chmod +x /usr/local/bin/linux-space-booster

๐Ÿ“บ Screenshot

linux space booster

๐Ÿš€ Usage

Interactive Mode (Recommended)

Simply run the script without arguments to access the interactive menu:

sudo ./linux-space-booster

Command Line Options

Option Description
--quick Quick safe cleanup (no confirmations)
--advanced Advanced cleanup with confirmations
--user-only Clean only user cache files (no root required)
--dry-run Preview what would be cleaned without making changes
--force Skip all confirmations (use with caution)
--help Display help information

Examples

# Quick cleanup
sudo linux-space-booster --quick

# Advanced cleanup
sudo linux-space-booster --advanced

# User-only cleanup (no root required)
linux-space-booster --user-only

# Dry run (preview only)
sudo linux-space-booster --dry-run

๐Ÿงน What Gets Cleaned

Category What’s Cleaned What’s Preserved
APT Cache Package files (.deb), orphaned packages Package lists, repository data
System Logs Old log files (30+ days), rotated logs Current active logs
Temporary Files Files in /tmp older than 7 days Recent temp files, active temp files
User Caches Browser caches, thumbnail caches User data, configurations
PostgreSQL Old log files (30+ days) Database data, current logs, configuration
Metasploit Old log files (30+ days) Scan data, loot, exploits, configuration
Wireshark Temporary files (.tmp) Capture files (.pcap), configuration
Journal Old journal entries Recent journal entries
Snap Old package versions Current snap packages, configurations
Kernels Old unused kernels Current kernel, recent kernels

๐Ÿ›ก๏ธ Safety Features

Linux Space Booster includes multiple layers of protection to ensure your system remains stable and your data safe:

  • Critical Path Protection: System directories are explicitly protected
  • Active File Detection: Files in use by running processes are never deleted
  • User Data Preservation: Personal files and settings are never touched
  • Evidence Protection: Forensic data and capture files are preserved
  • Configuration Safety: System and tool configurations are protected
  • Kernel Safety: Current and recent kernels are always preserved

๐Ÿ’ป Supported Distributions

  • Kali Linux: Specialized cleaning for penetration testing tools
  • Parrot OS: Optimized for security tools and configurations
  • Ubuntu: Enhanced cleaning for desktop environments
  • Linux Mint: Tailored for Mint-specific packages and caches
  • Debian: Core system optimization for Debian-based distributions

๐Ÿ“Š Performance

Average disk space reclaimed on first run:

Distribution Average Space Freed
Kali Linux 1.2 - 2.5 GB
Ubuntu 0.8 - 1.5 GB
Linux Mint 0.9 - 1.7 GB
Debian 0.5 - 1.0 GB

๐Ÿ”„ Regular Maintenance Recommendation

For optimal system performance, we recommend running Linux Space Booster:
- Basic Cleanup: Weekly
- Advanced Cleanup: Monthly
- Kernel Cleanup: After system updates that install new kernels

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ‘จโ€๐Ÿ’ป Author

Sid Joshi - @dr34mhacks

๐Ÿ™ Acknowledgments

  • Inspired by various disk cleaning utilities across Linux distributions
  • Thanks to all the testers who provided valuable feedback

โญ If you find this tool useful, please consider giving it a star! โญ

๐Ÿ“ง For issues, suggestions, or contributions, please open an issue on GitHub.

Made with โค๏ธ for the Linux community

Tool Information

Author

dr34mhacks

Project Added On

June 15, 2025

License

Open Source

Tags

df kali-linux kali-linux-tools