Join Nostr
2026-07-14 20:53:14 UTC
in reply to

Pink40mmHEDP_Potato on Nostr: oh yeah, thought of another fun one: there was some mention of .bash_history stuff ...

oh yeah, thought of another fun one:

there was some mention of .bash_history stuff earlier, and getting your commands redacted. What if you just... wanna disable .bash_history altogether?unset HISTFILE HISTSIZE HISTFILESIZE

usually gets the job done.

also, there are a surprising number of people who do not know about attrib and chattr commands. chattr +i [filename]

is a fun, but stupid way to keep someone from deleting a file. Like say, a persistence mechanism. Fun for those who have no idea how extended attributes work.