ByCh4n/GhostCleaner ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Bash tool for Linux that can clean common system log files and remove shell history files from a user’s home folder, while also showing a quick system info summary like the OS, uptime, hostname, CPU, and memory usage.
I want it to be portable, so it should run right from the cloned folder without needing a complicated setup, but it would be nice if there’s also a simple install option. Please include both an interactive mode and easy command line flags for cleaning logs, cleaning history, printing system info, showing a banner, and displaying help or version info.
Make it work on any Linux distro that has Bash and basic core utilities, and make sure it clearly handles the fact that log cleaning may need root permissions. Keep the output clean and friendly, and add a clear warning that it deletes logs and history so it should only be used on machines I own or administer.
Are you gonna build this?
make sure you review the code using coderabbit