https://github.com/deadly-forces/diskcleaner
DiskCleaner is a Linux cache cleaner made using Bash 💿 🔧
https://github.com/deadly-forces/diskcleaner
bash-scripting cachecleaner disk-space linux
Last synced: 4 months ago
JSON representation
DiskCleaner is a Linux cache cleaner made using Bash 💿 🔧
- Host: GitHub
- URL: https://github.com/deadly-forces/diskcleaner
- Owner: Deadly-Forces
- License: mit
- Created: 2024-09-22T07:53:52.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-12-22T08:38:24.000Z (6 months ago)
- Last Synced: 2025-01-08T07:25:42.798Z (5 months ago)
- Topics: bash-scripting, cachecleaner, disk-space, linux
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DiskCleaner - Diskcleaner a utility Program for Linux
DiskCleaner is a Disk Utility Program made for Linux. It uses inbuilt commands like autoclean, autoremove. DiskCleaner allows users to perform cleaning of cache present in their disk, it also cleans partial packages, no longer required packages, orphaned packages, freeing up space by cleaning cached packages, cleaning old kernals, removing trash etc.
# Features
DiskCleaner Enables the following Commands & Checks all the Files :
1) **Checks All The Drive Space Used by Cached Files.**
2) **Cleans all the Log files.**
3) **Get rid of partial packages.**
4) **Removes no longer required packages , orphaned packages.**
5) **Clears the trash , Man & deletes all the .gz and rotated files.**
6) **Clean-up the old kernels.**# Commands
1) `apt -get clean && apt-get autoclean`
2) `apt-get remove --purge -y software-properties-common`
3) `apt-get autoremove -y`
4) `sudo apt-get -y remove --purge`
5) ` apt-get clean`## Usage
To run DiskCleaner, follow these steps:
1. **Ensure root privileges**:
DiskCleaner requires administrative privileges to function correctly. Run the script as root using `sudo`.```bash
sudo ./diskclean.sh
2. **Directory**:
The file will download in the Downloads of your OS so to change the directory type the following command `cd ~/Downloads`. Then type `chmod +x diskclean.sh` as
it provides root privileges to the file to all the user.