Update README.md

typo
This commit is contained in:
rootTHC
2020-01-24 12:40:46 +00:00
committed by GitHub
parent eca8c75165
commit beaabc8307
+3 -3
View File
@@ -10,18 +10,18 @@ Got tricks? Send them to root@thc.org.
**1. Leave Bash without history:**
Tell Bash that there is no history file (*~/.bash_history*).
Tell Bash that there is no history file (*~/.bash_history*). This is the first command we execute on every shell. It will stop the Bash from logging your commands.
```
$ unset HISTFILE
```
This is the first command we execute on every shell. It will stop the Bash from logging your commands.
It is good housekeeping to 'commit suicide' when exiting the shell:
```
$ kill -9 $$
```
Note: Any command starting with a " " (space) will [not get logged history](https://unix.stackexchange.com/questions/115917/why-is-bash-not-storing-commands-that-start-with-spaces) either.
Note: Any command starting with a " " (space) will [not get logged to history](https://unix.stackexchange.com/questions/115917/why-is-bash-not-storing-commands-that-start-with-spaces) either.
```
$ id
```