Clear terminal history
Overview
This category contains privacy scripts for Linux.
These changes use Linux system commands to update your settings.
Reading terminal history is one of the attack techniques. The existence of bash history files is defined as an unsecured credential attack technique by MITRE 1.
This category is only recommended if you understand its implications. Some non-critical or features may no longer function correctly after running this script.
Apply now
These scripts are written using Bash (Shell script) scripting language.
Choose one of two ways to apply:
- Automatically via privacy.sexy: The easiest and safest option.
- Manually by downloading: Requires downloading a file.
Alternative 1. Apply with Privacy.sexy
privacy.sexy is free and open-source application that lets securely apply this action easily.
It allows selectively choose parts of this action to conduct. You can fully restore this action (revert back to the original behavior) using the application.
privacy.sexy instructions
- Open or download the desktop application
- Search for the category name:
Clear terminal history
. - Check the category by clicking on the checkbox of the category.
- Click on Run button at the bottom of the page.
Alternative 2. Download
Consider restarting your computer for all changes to take affect.
This action is completely reversible, you can restore your changes to the initial/default state. The restore/revert methods provided here can help you fix issues.
If something goes wrong, use the Revert script provided above.
Strict
This script includes Standard and Strict recommendation levels.
This script is only recommended if you understand their implications of every single change. Some non-critical or features may no longer function correctly after running this script.
Download Strict scripts:
Restore these changes if you decide to revert them by downloading the restore script:
Explore further
This category includes total of 7 scripts but no subcategories.
Explore its 7 scripts:
Clear bash history
Bash (Bourne-Again SHell) is from the GNU project. It is used by most distributions as their default shell. See also GNU Bash Homepage.
Clear Zsh history
Zsh is also known as Z-shell. See its homepage for more information. It is one of the most used shells and has been the default shell in Kali Linux since 2020.4. Arch Linux installer uses zsh but sets bash on disk as default.
Clear tcsh history
C shell (csh) with file name completion and command line editing. "~/.history" is its default histfile (history file). It's shipped by FreeBSD as the default root shell. See also: tcsh homepage, • tcsh source code.
Clear fish history
It is one of the most popular exotic shells that favors usability over standard compliance. Its history file is stored in "~/.local/share/fish/fishhistory" and "~/.config/fish/fishhistory". It is used by PEUX OS as the default shell. See also fish shell homepage for more information.
Clear KornShell (ksh) history
KornShell is a shell that has different versions by different maintainers and developers such as "ksh93+u", "ksh93v-", and "ksh2020". The latest maintained version is "ksh93u+m", see its GitHub repository (ksh93/ksh). Its history file (histfile) is saved at "~/.sh_history" by default. OpenBSD symlinks sh to ksh. See also the [Wikipedia page](https://web.archive.org/web/20221029212931/https://en.wikipedia.org/wiki/KornShel...
Clear ash history
It's also known as Almquist shell. It's mainly a fork of dash (Debian Almquist shell) used in embedded Linux distributions such as DSLinux, Alpine Linux, Tiny Core Linux and Linux-based router firmware such as OpenWrt, Tomato and DD-WRT. It was also used by Android until Android 4.0. It uses "~/.ash_history" as the history file.
Clear crosh history
crosh is also known as ChromiumOS shell. It is used in Chromium OS. The history file is found in "~/.crosh_history" by default. See its source code (chromiumos/platform2) for more information.
Explore Categories
This action belongs to Privacy cleanup category. These scripts allow you to increase privacy by deleting collected data about you and your behavior. Read more on category page ▶
Support
This website relies on your support.
Your donation helps keep the project alive and improves its content ❤️.
Share this page: