Self Destruct (menu option 7) is a destructive utility that permanently deletes every file on the system. It requires two consecutiveDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kaladoodotlua/LRhub/llms.txt
Use this file to discover all available pages before exploring further.
y confirmations before executing. The exact behaviour when cancelling differs between the two prompts — read the confirmation flow below carefully.
The command executed
When both confirmations are accepted, LRhub runs the following command:/). The --no-preserve-root flag explicitly bypasses the rm safeguard that normally prevents deletion of /. The sudo prefix elevates privileges to root, which is required to remove protected system files.
Confirmation flow
The following steps are taken verbatim fromhub.lua before the command executes:
First confirmation
LRhub displays:You must type
y (or yes) to continue. Typing n (or no) at this prompt clears the screen (os.execute("clear")) and returns you to the main menu — no files are touched.Second confirmation
LRhub displays:You must type
y again to proceed. Typing n (or no) at this prompt silently falls through — there is no screen clear, no confirmation message, and no further action. The program simply continues past the block without executing anything.Countdown
After both confirmations, LRhub prints:Each number is separated by a one-second pause. There is no way to interrupt the countdown once it begins short of killing the process (e.g.
Ctrl+C).If you accidentally selected option 7, type
n at the first prompt to cancel — this clears the screen and returns you to the menu. Typing n at the second prompt also prevents execution, but does so silently with no visual feedback.Safe usage advice
Runlrhub as a regular non-root user. The Self Destruct command invokes sudo, which will prompt for your password before proceeding. This provides an additional layer of protection — a user who does not know the sudo password cannot execute the wipe even after passing both in-app confirmations.