Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/linux-hardening/linux-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,19 @@ Change the **value of this variable to 0**, so when you **end your session** any

```bash
export HISTSIZE=0

```
### **HISTCONTROL**

If the **value of this variable is set to ignorespace or ignoreboth** any command prepend it with an extra space will not be saved in the history.

```bash
export HISTCONTROL=ignorespace
```

```bash
$ echo "to save or"
$ echo "not to save"
```

### http_proxy & https_proxy
Expand Down