mirror of
https://github.com/hackerschoice/thc-tips-tricks-hacks-cheat-sheet.git
synced 2026-07-10 20:53:43 +02:00
Update README.md
This commit is contained in:
@@ -89,8 +89,12 @@ Tell Bash to use */dev/null* instead of *~/.bash_history*. This is the first com
|
||||
|
||||
```sh
|
||||
export HISTFILE=/dev/null
|
||||
unset SSH_CONNECTION
|
||||
unset SSH_CLIENT
|
||||
```
|
||||
|
||||
(We also clear SSH_* variables in case we logged in with SSH. Otherwise any process we start gets a copy of our IP in /proc/self/environ.)
|
||||
|
||||
It is good housekeeping to 'commit suicide' when exiting a shell:
|
||||
```sh
|
||||
alias exit='kill -9 $$'
|
||||
|
||||
Reference in New Issue
Block a user