Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 2.09 KB

README.md

File metadata and controls

48 lines (32 loc) · 2.09 KB

GhostCleaner - 1.0.0

Ghost Cleaners Logo

Simple automated log&history cleaner and fetch information like neofetch, this script compatible with all distro which have bash (bourne again shell).

Installation:

git clone https://github.com/ByCh4n/GhostCleaner.git
cd GhostCleaner
sudo make install

Deep note:

also you can use the script directly after cloning the repository like bash GhostCleaner.sh --help, it's portable script.

Usage:

  • ghostcleaner --clean-logs : it removes existing logs from array, but maybe you need to restart to log services after this option, it can be break any service.

  • ghostcleaner --clean-history : it removes any files and directories ending with 'history' in your home directory.

  • ghostcleaner --fetch-info : fetch the system information and print to the screen, it shows "OS", "UPTIME", "HOSTNAME" "USER TYPE", "CPU MODEL", "CPU USAGE", "RAM USAGE (with cached, inactive, active)", "FREE RAM".

  • ghostcleaner --shell : there is a little shell like 'sh' using 'read. There you can use the options as command.

  • ghostcleaner --banner : just print the banner.

  • ghostcleaner --no-banner : set default 'do not print banner' for any option.

  • ghostcleaner --help : shows this helper text.

  • ghostcleaner --version : shows the current version of the project.

ScreenShots from the tool:

  • Interactive shell of Ghost Cleaner:

image

  • Help option of Ghost Cleaner:

image image

Contributing:

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License:

GPL3