Follow

Bixby, how do I remove an embarrassing command from BASH history?

@rummik

Your bash history is in a textfile.

~/.bash_history

Edit that file. Start bash. You should have the changed history now.

@rummik Typing ls -l 5 times in a row because you wern't sure is a common thing and happens to me often

@BraixenIRL I did a `git status` as soon as I connected -.-

Sign in to participate in the conversation
AWOO.pub

This is one of many Mastodon instances in what we call the "fediverse" -- think of it kind of like an email service, but for a global social network.

Our instance focuses on keeping a stable server, and protecting privacy and safety of our users.